diff options
author | Alan Modra <amodra@bigpond.net.au> | 2003-04-03 02:54:52 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2003-04-03 02:54:52 +0000 |
commit | 8dc79462d6d678450c6368ea829cf9ac466cf1c2 (patch) | |
tree | 68a4e761e7b6faf6795558477e89cbc2250c537b /bfd | |
parent | 1adab96995f833d958114fcd7c945736724ec4b3 (diff) | |
download | binutils-redhat-8dc79462d6d678450c6368ea829cf9ac466cf1c2.tar.gz |
* elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL
here as it's too early to reliably determine locality.
(ppc_elf_gc_sweep_hook): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elf32-ppc.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ca9eb97ddd..122369d89c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2003-04-03 Alan Modra <amodra@bigpond.net.au> + + * elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL + here as it's too early to reliably determine locality. + (ppc_elf_gc_sweep_hook): Likewise. + 2003-04-02 Bob Wilson <bob.wilson@acm.org> * xtensa-modules.c: Remove comment indicating that this is a diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 6d54419298..6fdfebe795 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -3459,8 +3459,7 @@ ppc_elf_check_relocs (abfd, info, sec, relocs) case R_PPC_REL14_BRNTAKEN: case R_PPC_REL32: if (h == NULL - || strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0 - || SYMBOL_REFERENCES_LOCAL (info, h)) + || strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0) break; /* fall through */ @@ -3745,8 +3744,7 @@ ppc_elf_gc_sweep_hook (abfd, info, sec, relocs) case R_PPC_REL14_BRNTAKEN: case R_PPC_REL32: if (h == NULL - || strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0 - || SYMBOL_REFERENCES_LOCAL (info, h)) + || strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0) break; /* Fall thru */ |