diff options
author | Alan Modra <amodra@gmail.com> | 2010-02-08 13:16:24 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-02-08 13:16:24 +0000 |
commit | b0dddeecc9afb76e0ecd1f3db7e372fdaedfc976 (patch) | |
tree | 0dec79524d4c905e00fb88a2c74a9c4094cec9a4 /bfd/elf32-ppc.c | |
parent | 7b356089ca4ec42d7ac39dabfb065801ccb9598e (diff) | |
download | gdb-b0dddeecc9afb76e0ecd1f3db7e372fdaedfc976.zip gdb-b0dddeecc9afb76e0ecd1f3db7e372fdaedfc976.tar.gz gdb-b0dddeecc9afb76e0ecd1f3db7e372fdaedfc976.tar.bz2 |
* section.c (struct bfd_section): Delete has_tls_reloc,
has_tls_get_addr_call, has_gp_reloc, need_finalize_relax, reloc_done.
Add sec_flg0 thru sec_flg5.
(BFD_FAKE_SECTION): Update for changed flags.
* ecoff.c (bfd_debug_section): Likewise.
* elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
* elf64-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
(has_toc_reloc, makes_toc_func_call, call_check_in_progress): Update.
* elf32-xtensa.c (reloc_done): Define.
* elfxx-ia64.c (skip_relax_pass_0, skip_relax_pass_1): Update.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index e7a310c..3667413 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -2748,6 +2748,15 @@ struct ppc_elf_link_hash_table struct sym_cache sym_cache; }; +/* Rename some of the generic section flags to better document how they + are used here. */ + +/* Nonzero if this section has TLS related relocations. */ +#define has_tls_reloc sec_flg0 + +/* Nonzero if this section has a call to __tls_get_addr. */ +#define has_tls_get_addr_call sec_flg1 + /* Get the PPC ELF linker hash table from a link_info structure. */ #define ppc_elf_hash_table(p) \ |