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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [emulparams/] [scoreelf.sh] - Blame information for rev 241

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

Line No. Rev Author Line
1 145 khays
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
SCORE_NAME=${EMULATION_NAME}
30
if [ "${SCORE_NAME}" = "score3_elf" ] ; then
31
ARCH=score3
32
fi
33
 
34
if [ "${SCORE_NAME}" = "score7_elf" ] ; then
35
ARCH=score7
36
fi
37
 
38
MACHINE=
39
ENTRY=_start
40
EMBEDDED=yes
41
GENERATE_SHLIB_SCRIPT=yes

powered by: WebSVN 2.1.0

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