From fb266b8bce71ad8f875c81a00978578e5ac3874c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 21 Jan 2009 02:27:13 +0000 Subject: 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. --- bfd/elf32-spu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bfd/elf32-spu.h') diff --git a/bfd/elf32-spu.h b/bfd/elf32-spu.h index 0487d5917d..0e69555364 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; -- cgit v1.2.3