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