2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
[binutils.git] / ld / emulparams / armsymbian.sh
blobf852702f199dc92ae19c133a2511803bc75eb540
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+ PROVIDE_HIDDEN (.ARM.exidx\$\$Base = .); }
17 ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); }
18 .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
19 ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }
20 ${RELOCATING+ PROVIDE_HIDDEN (.ARM.exidx\$\$Limit = .); }"
22 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"