bfd/
authorAlan Modra <amodra@gmail.com>
Thu, 4 Nov 2004 11:55:13 +0000 (11:55 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 4 Nov 2004 11:55:13 +0000 (11:55 +0000)
commitc5614fa4606bc57532bebea972ce43bb434b6084
treeb21e5891be5a4ac97410b24026afaf1192956e53
parent9306ca4a205ea71479693f53f777ab04f55b4d49
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