2004-09-04 01:15:44 +08:00
|
|
|
. ${srcdir}/emulparams/armelf.sh
|
2004-09-07 04:55:23 +08:00
|
|
|
SCRIPT_NAME="armbpabi"
|
|
|
|
GENERATE_COMBRELOC_SCRIPT=1
|
2004-09-04 01:15:44 +08:00
|
|
|
OUTPUT_FORMAT="elf32-littlearm-symbian"
|
|
|
|
BIG_OUTPUT_FORMAT="elf32-bigarm-symbian"
|
|
|
|
LITTLE_OUTPUT_FORMAT="$OUTPUT_FORMAT"
|
2004-09-13 22:14:32 +08:00
|
|
|
TARGET1_IS_REL=1
|
2004-10-01 01:03:53 +08:00
|
|
|
TARGET2_TYPE=abs
|
2004-10-27 02:41:52 +08:00
|
|
|
# On BPABI systems, program headers should not be mapped.
|
|
|
|
EMBEDDED=yes
|
2004-09-04 01:15:44 +08:00
|
|
|
|
2005-01-26 14:10:45 +08:00
|
|
|
# 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.*}) }
|
|
|
|
${RELOCATING+ .ARM.exidx\$\$Base = . ; }
|
|
|
|
${RELOCATING+ __exidx_start = .; }
|
|
|
|
.ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
|
|
|
|
${RELOCATING+ __exidx_end = .; }
|
|
|
|
${RELOCATING+ .ARM.exidx\$\$Limit = . ; }"
|
|
|
|
|
2004-09-04 01:15:44 +08:00
|
|
|
# This value should match ELF_MAXPAGESIZE in BFD. Otherwise, elf.c
|
|
|
|
# will not place read-write sections in a separate ELF segment from
|
|
|
|
# the read-only sections.
|
|
|
|
MAXPAGESIZE=0x8000
|