Patch from: Jim Pick <jim@jimpick.com>
authorNick Clifton <nickc@redhat.com>
Tue, 29 Jun 1999 02:51:50 +0000 (02:51 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 29 Jun 1999 02:51:50 +0000 (02:51 +0000)
Take note of 'no_undefined'.

bfd/ChangeLog
bfd/elf32-arm.h

index 338da87bea3daea12493198bb6e7972d9debe940..a9db3632534bfa786dd37fd4461a42c64c4faa60 100644 (file)
@@ -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
index cbaf926ebc75aada13bd63e06f027989c9860c15..ec00b2652a9224144dbc4ced49e0f85dcb44a44b 100644 (file)
@@ -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)