[ARM] Implement FDPIC relocations.
[external/binutils.git] / ld / emulparams / score3_elf.sh
1 MACHINE=
2 SCRIPT_NAME=elf
3 TEMPLATE_NAME=elf32
4 EXTRA_EM_FILE=scoreelf
5 OUTPUT_FORMAT="elf32-bigscore"
6 BIG_OUTPUT_FORMAT="elf32-bigscore"
7 LITTLE_OUTPUT_FORMAT="elf32-littlescore"
8 NO_RELA_RELOCS=yes
9 GROUP="-lm -lc -lglsim -lgcc -lstdc++"
10
11 TEXT_START_ADDR=0x00000000
12 MAXPAGESIZE=256
13 NONPAGED_TEXT_START_ADDR=0x0400000
14 SHLIB_TEXT_START_ADDR=0x5ffe0000
15 OTHER_GOT_SYMBOLS='
16   _gp = ALIGN(16) + 0x3ff0;
17 '
18
19 OTHER_BSS_START_SYMBOLS='_bss_start__ = . + ALIGN(4);'
20 OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;'
21 DATA_START_SYMBOLS='_fdata = . ;'
22 SDATA_START_SYMBOLS='_sdata_begin = . ;'
23 OTHER_BSS_SYMBOLS='
24   _bss_start = ALIGN(4) ;
25 '
26 # This sets the stack to the top of the simulator memory (2^19 bytes).
27 STACK_ADDR=0x8000000
28
29 ARCH=score3
30 MACHINE=
31 ENTRY=_start
32 EMBEDDED=yes
33 GENERATE_SHLIB_SCRIPT=yes