From 73a74a624e671b611b97228c7d6ab835064228c8 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 5 Jun 2001 04:39:31 +0000 Subject: * elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms. --- bfd/elf32-hppa.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bfd/elf32-hppa.c') 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 -- cgit v1.1