OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [emulparams/] [scoreelf.sh] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
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
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;
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=score
30
MACHINE=
31
ENTRY=_start
32
EMBEDDED=yes
33
GENERATE_SHLIB_SCRIPT=yes

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.