diff options
author | Nick Clifton <nickc@redhat.com> | 1999-06-29 02:51:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-06-29 02:51:50 +0000 |
commit | 26b67b8447c9617a6b2a9e4de5a79de726df0597 (patch) | |
tree | 087ea23ef5f4934b7f21b0f0b2b894d39f83036a | |
parent | f97073c98306dab453338bd4b850e92709ad539a (diff) | |
download | gdb-26b67b8447c9617a6b2a9e4de5a79de726df0597.tar.gz |
Patch from: Jim Pick <jim@jimpick.com>
Take note of 'no_undefined'.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf32-arm.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 338da87bea3..a9db3632534 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +1999-06-28 Jim Pick <jim@jimpick.com> + + * 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 cbaf926ebc7..ec00b2652a9 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) |