diff options
author | Alan Modra <amodra@gmail.com> | 2006-10-25 06:49:21 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-10-25 06:49:21 +0000 |
commit | e9f531299306c33f3e110bd66e7f9daa29845e23 (patch) | |
tree | 7c95ff771856236efdfef25f95099f15c970e518 /ld/emulparams | |
parent | 78de3ccc2a96d619e8a7f9bc1dc41d4b92286120 (diff) | |
download | gdb-e9f531299306c33f3e110bd66e7f9daa29845e23.zip gdb-e9f531299306c33f3e110bd66e7f9daa29845e23.tar.gz gdb-e9f531299306c33f3e110bd66e7f9daa29845e23.tar.bz2 |
New Cell SPU port.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf32_spu.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ld/emulparams/elf32_spu.sh b/ld/emulparams/elf32_spu.sh new file mode 100644 index 0000000..bfeabb8 --- /dev/null +++ b/ld/emulparams/elf32_spu.sh @@ -0,0 +1,19 @@ +SCRIPT_NAME=elf +TEMPLATE_NAME=elf32 +EXTRA_EM_FILE=spuelf +OUTPUT_FORMAT="elf32-spu" +ARCH=spu +MACHINE= +ALIGNMENT=16 +TEXT_START_ADDR=0 +INITIAL_READONLY_SECTIONS='.interrupt : { KEEP(*(.interrupt)) }' +if test -z "${CREATE_SHLIB}"; then + INITIAL_READONLY_SECTIONS="${INITIAL_READONLY_SECTIONS} + .interp ${RELOCATING-0} : { *(.interp) }" +fi +OTHER_END_SYMBOLS='PROVIDE (__stack = 0x3fff0);' +NO_SMALL_DATA=true +EMBEDDED=true +MAXPAGESIZE=0x80 +DATA_ADDR="ALIGN(${MAXPAGESIZE})" +OTHER_BSS_SECTIONS=".toe ALIGN(128) : { *(.toe) } = 0" |