diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-06-05 04:39:31 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-06-05 04:39:31 +0000 |
commit | 593ca6505ce86b807fd8697be46bedae16e5752c (patch) | |
tree | c2ea9f216ac394927d1cf3322d62dfa4b5b83053 /bfd | |
parent | 22b9ee0383df8d1abdc885deadbd432d08ebfefb (diff) | |
download | gdb-593ca6505ce86b807fd8697be46bedae16e5752c.tar.gz |
* elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf32-hppa.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9e52c500265..4dfc95d4428 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2001-06-05 Alan Modra <amodra@bigpond.net.au> + + * elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms. + 2001-06-02 H.J. Lu <hjl@gnu.org> * elf32-hppa.c (elf32_hppa_object_p): Check ELFOSABI_LINUX diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index c10df6bc811..caff906f201 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 |