diff options
author | Alan Modra <amodra@gmail.com> | 2004-11-04 11:55:13 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-11-04 11:55:13 +0000 |
commit | c5614fa4606bc57532bebea972ce43bb434b6084 (patch) | |
tree | b21e5891be5a4ac97410b24026afaf1192956e53 /bfd/elf64-ppc.h | |
parent | 9306ca4a205ea71479693f53f777ab04f55b4d49 (diff) | |
download | gdb-c5614fa4606bc57532bebea972ce43bb434b6084.zip gdb-c5614fa4606bc57532bebea972ce43bb434b6084.tar.gz gdb-c5614fa4606bc57532bebea972ce43bb434b6084.tar.bz2 |
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.
Diffstat (limited to 'bfd/elf64-ppc.h')
-rw-r--r-- | bfd/elf64-ppc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf64-ppc.h b/bfd/elf64-ppc.h index 4a58bbe..0e5a0e2 100644 --- a/bfd/elf64-ppc.h +++ b/bfd/elf64-ppc.h @@ -25,6 +25,8 @@ asection *ppc64_elf_tls_setup (bfd *, struct bfd_link_info *); bfd_boolean ppc64_elf_tls_optimize (bfd *, struct bfd_link_info *); +bfd_boolean ppc64_elf_edit_toc + (bfd *, struct bfd_link_info *); bfd_vma ppc64_elf_toc (bfd *); int ppc64_elf_setup_section_lists |