Automatic date update in version.in
[external/binutils.git] / ld / emulparams / armelf_fuchsia.sh
1 ARCH=arm
2 SCRIPT_NAME=elf
3 OUTPUT_FORMAT="elf32-littlearm"
4 BIG_OUTPUT_FORMAT="elf32-bigarm"
5 LITTLE_OUTPUT_FORMAT="elf32-littlearm"
6 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
7 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
8 TEMPLATE_NAME=elf32
9 EXTRA_EM_FILE=armelf
10 GENERATE_SHLIB_SCRIPT=yes
11 GENERATE_PIE_SCRIPT=yes
12
13 DATA_START_SYMBOLS='PROVIDE (__data_start = .);';
14 OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)'
15 OTHER_BSS_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__bss_start__ = .${CREATE_SHLIB+)};"
16 OTHER_BSS_END_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_bss_end__ = .${CREATE_SHLIB+)}; ${CREATE_SHLIB+PROVIDE (}__bss_end__ = .${CREATE_SHLIB+)};"
17 OTHER_END_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__end__ = .${CREATE_SHLIB+)};"
18 OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }'
19
20 TEXT_START_ADDR=0x00001000
21 TARGET2_TYPE=got-rel
22
23 # ARM does not support .s* sections.
24 NO_SMALL_DATA=yes
25
26 # Use the ARM ABI-compliant exception-handling sections.
27 OTHER_READONLY_SECTIONS="
28   .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) }
29   ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); }
30   .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
31   ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }"
32