aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-spu.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-01-21 02:27:13 +0000
committerAlan Modra <amodra@gmail.com>2009-01-21 02:27:13 +0000
commitfb266b8bce71ad8f875c81a00978578e5ac3874c (patch)
treeaedee562bf6190cb1d0a2dab35b02f4d3a493bcc /bfd/elf32-spu.h
parentf6a96b83ac540c203c92a19e90bfbe61e3a57cc1 (diff)
downloadfsf-binutils-gdb-fb266b8bce71ad8f875c81a00978578e5ac3874c.zip
fsf-binutils-gdb-fb266b8bce71ad8f875c81a00978578e5ac3874c.tar.gz
fsf-binutils-gdb-fb266b8bce71ad8f875c81a00978578e5ac3874c.tar.bz2
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 0487d59..0e69555 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;