diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2010-10-17 21:56:26 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2010-10-17 21:56:26 +0000 |
| commit | ecb78adf803de7c4a6396b2a6ecbb0f09a9f0513 (patch) | |
| tree | 9986f3fbca15451542d650673942825ac03b39a7 /ld/emulparams/elf32xtensa.sh | |
| parent | 15954e27eb2be1146d00338e3eaed9e557be5b7f (diff) | |
Notes
Diffstat (limited to 'ld/emulparams/elf32xtensa.sh')
| -rw-r--r-- | ld/emulparams/elf32xtensa.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ld/emulparams/elf32xtensa.sh b/ld/emulparams/elf32xtensa.sh new file mode 100644 index 000000000000..76f9da85d5a7 --- /dev/null +++ b/ld/emulparams/elf32xtensa.sh @@ -0,0 +1,32 @@ +# First set some configuration-specific variables +. ${srcdir}/emulparams/xtensa-config.sh + +# See genscripts.sh and ../scripttempl/elfxtensa.sc for the meaning of these. +SCRIPT_NAME=elfxtensa +TEMPLATE_NAME=elf32 +EXTRA_EM_FILE=xtensaelf +OUTPUT_FORMAT=undefined +BIG_OUTPUT_FORMAT="elf32-xtensa-be" +LITTLE_OUTPUT_FORMAT="elf32-xtensa-le" +TEXT_START_ADDR=0x400000 +NONPAGED_TEXT_START_ADDR=0x400000 +ARCH=xtensa +MACHINE= +GENERATE_SHLIB_SCRIPT=yes +GENERATE_COMBRELOC_SCRIPT=yes +NO_SMALL_DATA=yes +OTHER_READONLY_SECTIONS=" + .got.loc ${RELOCATING-0} : { *(.got.loc) } + .xt_except_table ${RELOCATING-0} : { KEEP (*(.xt_except_table)) } +" +OTHER_READWRITE_SECTIONS=" + .xt_except_desc ${RELOCATING-0} : + { + *(.xt_except_desc${RELOCATING+ .gnu.linkonce.h.*}) + ${RELOCATING+*(.xt_except_desc_end)} + } +" +OTHER_SECTIONS=" + .xt.lit 0 : { *(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*}) } + .xt.insn 0 : { *(.xt.insn${RELOCATING+ .gnu.linkonce.x.*}) } +" |
