diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-05-28 20:27:51 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-05-28 20:27:51 +0000 |
commit | 0236e03ee7081b4060b7b6e66a19132ec3a02b1a (patch) | |
tree | 5d54519a4c6ab52e0bcaa8955b5be78de92aeabd /bfd/elf32-hppa.c | |
parent | 14898363322c870c5945df9408074e441da130a7 (diff) | |
download | gdb-0236e03ee7081b4060b7b6e66a19132ec3a02b1a.zip gdb-0236e03ee7081b4060b7b6e66a19132ec3a02b1a.tar.gz gdb-0236e03ee7081b4060b7b6e66a19132ec3a02b1a.tar.bz2 |
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.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index becfb73..e448c43 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) |