From: Nick Clifton Date: Thu, 14 Mar 2002 09:41:54 +0000 (+0000) Subject: Fix compile time failure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c295a5111b2c1c8caf535cf79be64768195f3e04;p=binutils-gdb.git Fix compile time failure --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ca7dfbd76eb..d4e3a3b2cc5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-03-14 Nick Clifton + + * mmo.c (mmo_get_loc): Return NULL rather than false. + 2002-03-13 Nick Clifton * po/fr.po: Updated version. diff --git a/bfd/mmo.c b/bfd/mmo.c index 31ba035645e..bc3b1475294 100644 --- a/bfd/mmo.c +++ b/bfd/mmo.c @@ -1523,7 +1523,7 @@ mmo_get_loc (sec, vma, size) entry = (mmo_data_list_type *) bfd_zalloc (sec->owner, sizeof (mmo_data_list_type) + allocated_size); if (entry == NULL) - return false; + return NULL; entry->where = vma; entry->size = size; entry->allocated_size = allocated_size;