2005-09-01 Dmitry Diky <diwil@spec.ru>
[binutils.git] / ld / emulparams / armsymbian.sh
bloba52d05b248069371c3050559d8e12babc1157a9d
1 . ${srcdir}/emulparams/armelf.sh
2 SCRIPT_NAME="armbpabi"
3 GENERATE_COMBRELOC_SCRIPT=1
4 OUTPUT_FORMAT="elf32-littlearm-symbian"
5 BIG_OUTPUT_FORMAT="elf32-bigarm-symbian"
6 LITTLE_OUTPUT_FORMAT="$OUTPUT_FORMAT"
7 TARGET1_IS_REL=1
8 TARGET2_TYPE=abs
9 # On BPABI systems, program headers should not be mapped.
10 EMBEDDED=yes
12 # As for armelf.sh, but add the SymbianOS-specific
13 # .ARM.exidx$${Base,Limit} symbols.
14 OTHER_READONLY_SECTIONS="
15 .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) }
16 ${RELOCATING+ .ARM.exidx\$\$Base = . ; }
17 ${RELOCATING+ __exidx_start = .; }
18 .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
19 ${RELOCATING+ __exidx_end = .; }
20 ${RELOCATING+ .ARM.exidx\$\$Limit = . ; }"
22 # This value should match ELF_MAXPAGESIZE in BFD. Otherwise, elf.c
23 # will not place read-write sections in a separate ELF segment from
24 # the read-only sections.
25 MAXPAGESIZE=0x8000