mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
6e9ed99753
PR 25243 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Move definition of __exidx_start and __exidx_end into ARM.exidx. * emulparams/armelf_linux_eabi.sh (OTHER_READONLY_SECTIONS): Likewise. * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Similarly. * emulparams/elf32_tic6x_le.sh (OTHER_READONLY_SECTIONS): Similarly. * emulparams/armelf_fuchsia.sh: Source armelf_linux_eabi.sh, just redefining TEXT_START_ADDR. * emulparams/armelf_linux_fdpiceabi.sh: Source armelf_linux_eabi.sh, adding to OTHER_READONLY_SECTIONS.
26 lines
894 B
Bash
26 lines
894 B
Bash
source_sh ${srcdir}/emulparams/armelf.sh
|
|
SCRIPT_NAME="armbpabi"
|
|
GENERATE_COMBRELOC_SCRIPT=1
|
|
OUTPUT_FORMAT="elf32-littlearm-symbian"
|
|
BIG_OUTPUT_FORMAT="elf32-bigarm-symbian"
|
|
LITTLE_OUTPUT_FORMAT="$OUTPUT_FORMAT"
|
|
TARGET1_IS_REL=1
|
|
TARGET2_TYPE=abs
|
|
# On BPABI systems, program headers should not be mapped.
|
|
EMBEDDED=yes
|
|
|
|
# As for armelf.sh, but add the SymbianOS-specific
|
|
# .ARM.exidx$${Base,Limit} symbols.
|
|
OTHER_READONLY_SECTIONS="
|
|
.ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) }
|
|
.ARM.exidx ${RELOCATING-0} :
|
|
{
|
|
${RELOCATING+PROVIDE_HIDDEN (.ARM.exidx\$\$Base = .);}
|
|
${RELOCATING+PROVIDE_HIDDEN (__exidx_start = .);}
|
|
*(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*})
|
|
${RELOCATING+PROVIDE_HIDDEN (__exidx_end = .);}
|
|
${RELOCATING+PROVIDE_HIDDEN (.ARM.exidx\$\$Limit = .);}
|
|
}"
|
|
|
|
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|