aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-xtensa.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-02-08 13:16:24 +0000
committerAlan Modra <amodra@gmail.com>2010-02-08 13:16:24 +0000
commitb0dddeecc9afb76e0ecd1f3db7e372fdaedfc976 (patch)
tree0dec79524d4c905e00fb88a2c74a9c4094cec9a4 /bfd/elf32-xtensa.c
parent7b356089ca4ec42d7ac39dabfb065801ccb9598e (diff)
downloadgdb-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-xtensa.c')
-rw-r--r--bfd/elf32-xtensa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c
index 1992c94..4d1b384 100644
--- a/bfd/elf32-xtensa.c
+++ b/bfd/elf32-xtensa.c
@@ -155,6 +155,10 @@ static bfd_boolean relaxing_section = FALSE;
int elf32xtensa_no_literal_movement = 1;
+/* Rename one of the generic section flags to better document how it
+ is used here. */
+/* Whether relocations have been processed. */
+#define reloc_done sec_flg0
static reloc_howto_type elf_howto_table[] =
{