From: Nick Clifton Date: Tue, 29 Jun 1999 02:51:50 +0000 (+0000) Subject: Patch from: Jim Pick X-Git-Tag: gdb-1999-07-05~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a72747a3548721b28a9c1d8987777951043c0f8b;p=external%2Fbinutils.git Patch from: Jim Pick Take note of 'no_undefined'. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 338da87..a9db363 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +1999-06-28 Jim Pick + + * elf32-arm.h (elf32_arm_relocate_section): Mind no_undefined + Tue Jun 29 02:25:03 1999 Jeffrey A Law (law@cygnus.com) * elf-hppa.c (elf_hppa_howto_table): Use bfd_elf_generic_reloc as diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index cbaf926..ec00b26 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -1733,6 +1733,8 @@ elf32_arm_relocate_section (output_bfd, info, input_bfd, input_section, } else if (h->root.type == bfd_link_hash_undefweak) relocation = 0; + else if (info->shared && !info->symbolic && !info->no_undefined) + relocation = 0; else { if (!((*info->callbacks->undefined_symbol)