mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
88bba78dc4
* genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR. * ldint.texinfo: Likewise. * emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete. * emulparams/armaoutl.sh: Likewise. * emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete. * emulparams/bfin.sh: Likewise * emulparams/crisaout.sh: Likewise * emulparams/elf32_sparc.sh: Likewise * emulparams/elf32am33lin.sh: Likewise * emulparams/elf32b4300.sh: Likewise * emulparams/elf32bmip.sh: Likewise * emulparams/elf32mcore.sh: Likewise * emulparams/elf32xtensa.sh: Likewise * emulparams/elf64_s390.sh: Likewise * emulparams/elf64_sparc.sh: Likewise * emulparams/elf64alpha.sh: Likewise * emulparams/elf_i386.sh: Likewise * emulparams/elf_i386_be.sh: Likewise * emulparams/elf_i386_chaos.sh: Likewise * emulparams/elf_i386_ldso.sh: Likewise * emulparams/elf_i386_vxworks.sh: Likewise * emulparams/elf_s390.sh: Likewise * emulparams/elf_x86_64.sh: Likewise * emulparams/i386aout.sh: Likewise * emulparams/i386moss.sh: Likewise * emulparams/i386msdos.sh: Likewise * emulparams/i386nto.sh: Likewise * emulparams/i386nw.sh: Likewise * emulparams/m68kaout.sh: Likewise * emulparams/m68kelf.sh: Likewise * emulparams/ppcnw.sh: Likewise * emulparams/sun4.sh: Likewise * emulparams/tic80coff.sh: Likewise * emulparams/vaxnbsd.sh: Likewise * emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete. (TEXT_START_ADDR): Set for -n, -N. * emulparams/coff_sparc.sh: Likewise * emulparams/elf32vax.sh: Likewise * emulparams/i386bsd.sh: Likewise * emulparams/i386go32.sh: Likewise * emulparams/i386linux.sh: Likewise * emulparams/i386lynx.sh: Likewise * emulparams/i386mach.sh: Likewise * emulparams/m68k4knbsd.sh: Likewise * emulparams/m68klinux.sh: Likewise * emulparams/m68knbsd.sh: Likewise * emulparams/ns32knbsd.sh: Likewise * emulparams/pc532macha.sh: Likewise * emulparams/ppclynx.sh: Likewise * emulparams/scoreelf.sh: Likewise * emulparams/sparcaout.sh: Likewise * emulparams/sparclinux.sh: Likewise * emulparams/sun3.sh: Likewise * emulparams/vsta.sh: Likewise
45 lines
1.5 KiB
Bash
45 lines
1.5 KiB
Bash
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
|
|
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
|
ARCH=xtensa
|
|
MACHINE=
|
|
GENERATE_SHLIB_SCRIPT=yes
|
|
GENERATE_PIE_SCRIPT=yes
|
|
GENERATE_COMBRELOC_SCRIPT=yes
|
|
NO_SMALL_DATA=yes
|
|
TEXT_PLT=yes
|
|
PLT="/* .plt* sections are embedded in .text */"
|
|
GOT=".got ${RELOCATING-0} : { *(.got) }"
|
|
OTHER_READONLY_SECTIONS="
|
|
.got.loc ${RELOCATING-0} : { *(.got.loc) }
|
|
.xt_except_table ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.xt_except_table${RELOCATING+ .xt_except_table.* .gnu.linkonce.e.*})) }
|
|
"
|
|
OTHER_RELRO_SECTIONS="
|
|
.xt_except_table ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.xt_except_table${RELOCATING+ .xt_except_table.* .gnu.linkonce.e.*})) }
|
|
"
|
|
OTHER_READWRITE_SECTIONS="
|
|
.xt_except_desc ${RELOCATING-0} :
|
|
{
|
|
*(.xt_except_desc${RELOCATING+ .xt_except_desc.* .gnu.linkonce.h.*})
|
|
${RELOCATING+*(.xt_except_desc_end)}
|
|
}
|
|
"
|
|
OTHER_SDATA_SECTIONS="
|
|
.lit4 ${RELOCATING-0} :
|
|
{
|
|
${RELOCATING+PROVIDE (_lit4_start = .);}
|
|
*(.lit4${RELOCATING+ .lit4.* .gnu.linkonce.lit4.*})
|
|
${RELOCATING+PROVIDE (_lit4_end = .);}
|
|
}
|
|
"
|
|
OTHER_SECTIONS="
|
|
.xt.lit 0 : { KEEP (*(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*})) }
|
|
.xt.insn 0 : { KEEP (*(.xt.insn${RELOCATING+ .gnu.linkonce.x.*})) }
|
|
.xt.prop 0 : { KEEP (*(.xt.prop${RELOCATING+ .xt.prop.* .gnu.linkonce.prop.*})) }
|
|
"
|