summaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2003-05-28 20:27:51 +0000
committerH.J. Lu <hjl@lucon.org>2003-05-28 20:27:51 +0000
commit8fb403f22158bd6daaecdb1cd15ee62f4ca2396d (patch)
tree1f8ed3a69b585a6c9aa0f6773a57316be0703b74 /bfd/elf32-hppa.c
parent8a39d794119e1f680e9fb4439014ba7fdefcc902 (diff)
downloadgdb-8fb403f22158bd6daaecdb1cd15ee62f4ca2396d.tar.gz
2003-05-28 Alan Modra <amodra@bigpond.net.au>
* elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus undefined_symbol call.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r--bfd/elf32-hppa.c11
1 files changed, 3 insertions, 8 deletions
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)