From 0236e03ee7081b4060b7b6e66a19132ec3a02b1a Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 28 May 2003 20:27:51 +0000 Subject: [PATCH] 2003-05-28 Alan Modra * elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus undefined_symbol call. --- bfd/ChangeLog | 5 +++++ bfd/elf32-hppa.c | 11 +++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 612884f2f39..a3e408ace4d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-05-28 Alan Modra + + * elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus + undefined_symbol call. + 2003-05-27 Richard Sandiford * elfxx-mips.c (mips_elf_hash_sort_data): Fix formattting. diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index becfb73c873..e448c43b2d0 100644 --- a/bfd/elf32-hppa.c +++ b/bfd/elf32-hppa.c @@ -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) -- 2.30.2