summaryrefslogtreecommitdiff
path: root/bfd/elf32-spu.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-12-10 13:36:41 +0000
committerAlan Modra <amodra@gmail.com>2008-12-10 13:36:41 +0000
commita3a219a90a59440cb2a29cee2a4cde87c6bfaf19 (patch)
tree8afbe6fe3f12036869cbccde54e6a15af4d072c3 /bfd/elf32-spu.h
parent64615358cc3bf603ff78364451421139343e2dc8 (diff)
downloadbinutils-gdb-a3a219a90a59440cb2a29cee2a4cde87c6bfaf19.tar.gz
bfd/
* elf32-spu.h (struct spu_elf_params): Add num_regions. * elf32-spu.c (spu_elf_auto_overlay): Handle multiple overlay regions. ld/ * emultempl/spuelf.em (params): Init new field. (OPTION_SPU_NUM_REGIONS): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --num-regions. (PARSE_AND_LIST_ARGS_CASES): Handle --num-regions.
Diffstat (limited to 'bfd/elf32-spu.h')
-rw-r--r--bfd/elf32-spu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-spu.h b/bfd/elf32-spu.h
index 8cac3a33760..442dd5d3b2e 100644
--- a/bfd/elf32-spu.h
+++ b/bfd/elf32-spu.h
@@ -55,6 +55,7 @@ struct spu_elf_params
bfd_vma local_store_hi;
/* Control --auto-overlay feature. */
+ unsigned int num_regions;
unsigned int auto_overlay_fixed;
unsigned int auto_overlay_reserved;
int extra_stack_space;