diff options
author | Alan Modra <amodra@gmail.com> | 2005-06-06 12:59:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-06-06 12:59:59 +0000 |
commit | b4f4e59ffff89dd86068046263008836e145ae41 (patch) | |
tree | c63463e15dd71eda6a39bdd5df8a7481fd565261 /ld/emultempl/ppc64elf.em | |
parent | b12fe8393a0e37dd8462b199e43cb41bea509990 (diff) | |
download | gdb-b4f4e59ffff89dd86068046263008836e145ae41.zip gdb-b4f4e59ffff89dd86068046263008836e145ae41.tar.gz gdb-b4f4e59ffff89dd86068046263008836e145ae41.tar.bz2 |
bfd/
* elf64-pcc.c (ppc64_elf_gc_mark_hook): For the local sym in .opd
case, include addend when indexing .opd section map.
(ppc64_elf_edit_opd): Add no_opd_opt param. Do nothing besides
clear opd_adjust array if no_opd_opt set. Tidy code.
* elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
ld/
* emultempl/ppc64elf.em (ppc_before_allocation): Always run
ppc64_elf_edit_opd.
Diffstat (limited to 'ld/emultempl/ppc64elf.em')
-rw-r--r-- | ld/emultempl/ppc64elf.em | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index f002cf3..c1343b6 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -102,8 +102,8 @@ ppc_before_allocation (void) { if (stub_file != NULL) { - if (!no_opd_opt - && !ppc64_elf_edit_opd (output_bfd, &link_info, non_overlapping_opd)) + if (!ppc64_elf_edit_opd (output_bfd, &link_info, no_opd_opt, + non_overlapping_opd)) einfo ("%X%P: can not edit %s %E\n", "opd"); if (ppc64_elf_tls_setup (output_bfd, &link_info) && !no_tls_opt) |