aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-06-05 04:39:31 +0000
committerAlan Modra <amodra@gmail.com>2001-06-05 04:39:31 +0000
commit73a74a624e671b611b97228c7d6ab835064228c8 (patch)
treee70c2c2c8f488d30a5af920983c796ab712a92cf /bfd/elf32-hppa.c
parent3763134dca8090734af5822169ca1e92b896c154 (diff)
downloadgdb-73a74a624e671b611b97228c7d6ab835064228c8.zip
gdb-73a74a624e671b611b97228c7d6ab835064228c8.tar.gz
gdb-73a74a624e671b611b97228c7d6ab835064228c8.tar.bz2
* elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r--bfd/elf32-hppa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index c10df6b..caff906 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -2077,6 +2077,10 @@ allocate_plt_and_got (h, inf)
struct elf32_hppa_link_hash_table *hplink;
asection *s;
+ if (h->root.type == bfd_link_hash_indirect
+ || h->root.type == bfd_link_hash_warning)
+ return true;
+
info = (struct bfd_link_info *) inf;
hplink = hppa_link_hash_table (info);
if ((hplink->root.dynamic_sections_created