bfd/
commitffcaf5a3e95b8df8cc4e73eec587305f3e14fe66
authorAlan Modra <amodra@bigpond.net.au>
Thu, 4 Nov 2004 11:55:13 +0000 (4 11:55 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 4 Nov 2004 11:55:13 +0000 (4 11:55 +0000)
tree14155591abdf54e486d92a993e8075180e0364ec
parent99bd83b3a6f3f67822a9d43592e5badaf708377b
bfd/
* elf64-ppc.h (ppc64_elf_edit_toc): Declare.
* elf64-ppc.c (struct ppc_link_hash_entry <adjust_done>): Update
comment.
(struct adjust_toc_info): New.
(adjust_toc_syms, ppc64_elf_edit_toc): New functions.
ld/
* emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
(no_opd_opt, no_toc_opt): New static vars.
(ppc_before_allocation): Don't edit opt if no_opd_opt.  Call
ppc64_elf_edit_toc.
(OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
(PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
(PARSE_AND_LIST_OPTIONS): Describe new options.
(PARSE_AND_LIST_ARGS_CASES): Handle them.
bfd/ChangeLog
bfd/elf64-ppc.c
bfd/elf64-ppc.h
ld/ChangeLog
ld/emultempl/ppc64elf.em