[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Small compile time fix for bfd/mmo.c
From: |
Nick Clifton |
Subject: |
Small compile time fix for bfd/mmo.c |
Date: |
14 Mar 2002 09:41:51 +0000 |
Hi Guys,
I am checking in the patch below to fix a small compile failure when
building the mmix-elf target.
Cheers
Nick
2002-03-14 Nick Clifton <address@hidden>
* mmo.c (mmo_get_loc): Return NULL rather than false.
Index: bfd/mmo.c
===================================================================
RCS file: /cvs/src/src/bfd/mmo.c,v
retrieving revision 1.5
diff -c -3 -p -w -r1.5 mmo.c
*** mmo.c 2002/02/17 21:18:33 1.5
--- mmo.c 2002/03/14 09:38:48
*************** mmo_get_loc (sec, vma, size)
*** 1523,1529 ****
entry = (mmo_data_list_type *)
bfd_zalloc (sec->owner, sizeof (mmo_data_list_type) + allocated_size);
if (entry == NULL)
! return false;
entry->where = vma;
entry->size = size;
entry->allocated_size = allocated_size;
--- 1523,1529 ----
entry = (mmo_data_list_type *)
bfd_zalloc (sec->owner, sizeof (mmo_data_list_type) + allocated_size);
if (entry == NULL)
! return NULL;
entry->where = vma;
entry->size = size;
entry->allocated_size = allocated_size;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Small compile time fix for bfd/mmo.c,
Nick Clifton <=