2003-05-28 Alan Modra <amodra@bigpond.net.au>
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 28 May 2003 20:27:51 +0000 (20:27 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 28 May 2003 20:27:51 +0000 (20:27 +0000)
* elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus
undefined_symbol call.

bfd/ChangeLog
bfd/elf32-hppa.c

index 612884f2f3924f2b7703250a6fb7a63361533399..a3e408ace4d6642ebb1b12cb66b1dfd6db4ef0aa 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus
+       undefined_symbol call.
+
 2003-05-27  Richard Sandiford  <rsandifo@redhat.com>
 
        * elfxx-mips.c (mips_elf_hash_sort_data): Fix formattting.
index becfb73c873c4b1b86e56037c284a381480afa4f..e448c43b2d03cfe58aab7a573302ce2577df8771 100644 (file)
@@ -3666,16 +3666,11 @@ elf32_hppa_relocate_section (output_bfd, info, input_bfd, input_section,
            }
          else if (h->elf.root.type == bfd_link_hash_undefweak)
            ;
-         else if (info->shared && !info->no_undefined
+         else if (info->shared
+                  && !info->no_undefined
                   && ELF_ST_VISIBILITY (h->elf.other) == STV_DEFAULT
                   && h->elf.type != STT_PARISC_MILLI)
-           {
-             if (!((*info->callbacks->undefined_symbol)
-                   (info, h->elf.root.root.string, input_bfd,
-                    input_section, rel->r_offset, FALSE)))
-               return FALSE;
-             warned_undef = TRUE;
-           }
+           ;
          else
            {
              if (!((*info->callbacks->undefined_symbol)