summaryrefslogtreecommitdiff
path: root/bfd/section.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-01-06 09:03:56 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-01-06 09:03:56 +0000
commit322c567d3b12187913aa7d7336d78b6a89fbc969 (patch)
tree2ddb2b78f22e39b8b457487d8ba1af589db31e5b /bfd/section.c
parentd5b5bb4f427c23f840380c63e598c7b53f059b6e (diff)
downloadbinutils-redhat-322c567d3b12187913aa7d7336d78b6a89fbc969.tar.gz
bfd/
* elf64-ppc.c (struct ppc_link_hash_table): Add no_multi_toc and multi_toc_needed. (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Define. (ppc64_elf_check_relocs): Update references to has_gp_reloc. (ppc64_elf_setup_section_lists): Add no_multi_toc parm, set htab bit. (ppc64_elf_next_toc_section): Heed no_multi_toc. (ppc64_elf_reinit_toc): Set multi_toc_needed. (toc_adjusting_stub_needed): Rewrite. (ppc64_elf_next_input_section): Use multi_toc_needed to shortcut toc tests. Adjust for toc_adjusting_stub_needed changes. (ppc64_elf_size_stubs): Update references to has_gp_reloc. * elf64-ppc.h (ppc64_elf_setup_section_lists): Update prototype. * section.c: Expand comment on backend bits. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. ld/ * emultempl/ppc64elf.em (no_multi_toc): New var. (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists. (OPTION_NO_MULTI_TOC): Define. (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support. (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
Diffstat (limited to 'bfd/section.c')
-rw-r--r--bfd/section.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/section.c b/bfd/section.c
index b368c2aa84..9ed0ae12ce 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -373,7 +373,8 @@ CODE_FRAGMENT
. {* Nonzero if this section uses RELA relocations, rather than REL. *}
. unsigned int use_rela_p:1;
.
-. {* Bits used by various backends. *}
+. {* Bits used by various backends. The generic code doesn't touch
+. these fields. *}
.
. {* Nonzero if this section has TLS related relocations. *}
. unsigned int has_tls_reloc:1;