summaryrefslogtreecommitdiff
path: root/bfd/elf32-spu.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2009-01-21 02:27:12 +0000
committerAlan Modra <amodra@bigpond.net.au>2009-01-21 02:27:12 +0000
commit5de3a5856a0feb2e905caea5b965558b68e0bf4c (patch)
treee97f7d1b6f21950aab4dedfdbe13fa5578a5ad8a /bfd/elf32-spu.h
parent9e8f01670d7d7334a7fb65c8329968bedf3c90f1 (diff)
downloadgdb-5de3a5856a0feb2e905caea5b965558b68e0bf4c.tar.gz
bfd/
* elf32-spu.h (struct spu_elf_params): Add non_ia_text. * elf32-spu.c (mark_overlay_section): Only include .text.ia.* sections in soft-icache lines unless non_ia_text. Don't add rodata if doing so would exceed line size. ld/ * emultempl/spuelf.em (params): Init new field. (OPTION_SPU_NON_IA_TEXT): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
Diffstat (limited to 'bfd/elf32-spu.h')
-rw-r--r--bfd/elf32-spu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/elf32-spu.h b/bfd/elf32-spu.h
index 0487d5917df..0e69555364c 100644
--- a/bfd/elf32-spu.h
+++ b/bfd/elf32-spu.h
@@ -1,6 +1,6 @@
/* SPU specific support for 32-bit ELF.
- Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
+ Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -53,6 +53,9 @@ struct spu_elf_params
/* Set if __stack_* syms will be emitted. */
unsigned int emit_stack_syms : 1;
+ /* Set if non-icache code should be allowed in icache lines. */
+ unsigned int non_ia_text : 1;
+
/* Range of valid addresses for loadable sections. */
bfd_vma local_store_lo;
bfd_vma local_store_hi;