2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
[binutils.git] / ld / emulparams / scoreelf.sh
blob0ca5e56a1f8d41995440344a428e9602cde2531d
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++"
9 TEXT_START_ADDR=0x00000000
10 case ${LD_FLAG} in
11 n|N) TEXT_START_ADDR=0x0400000 ;;
12 esac
13 MAXPAGESIZE=256
14 SHLIB_TEXT_START_ADDR=0x5ffe0000
15 OTHER_GOT_SYMBOLS='
16 _gp = ALIGN(16) + 0x3ff0;
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) ;
26 # This sets the stack to the top of the simulator memory (2^19 bytes).
27 STACK_ADDR=0x8000000
29 ARCH=score
30 MACHINE=
31 ENTRY=_start
32 EMBEDDED=yes
33 GENERATE_SHLIB_SCRIPT=yes