2000-09-29 Kazu Hirata <kazu@hxi.com>
[deliverable/binutils-gdb.git] / ld / emulparams / crislinux.sh
1 # This is an approximation of what we want for a real linux system (with MMU and ELF).
2 MACHINE=
3 SCRIPT_NAME=elf
4 OUTPUT_FORMAT="elf32-cris"
5 ARCH=cris
6 TEMPLATE_NAME=elf32
7 ENTRY=_start
8 # Needed? Perhaps should be page-size alignment.
9 ALIGNMENT=32
10 GENERATE_SHLIB_SCRIPT=yes
11
12 # Is this high enough and low enough?
13 TEXT_START_ADDR=0x80000
14
15 # Do we need to set this higher?
16 MAXPAGESIZE=8192
17
18 # FIXME: GOT, PLT...
19
20 # Smuggle an "OTHER_TEXT_END_SYMBOLS" here.
21 OTHER_READONLY_SECTIONS='PROVIDE (__Etext = .);'
22 DATA_START_SYMBOLS='PROVIDE (__Sdata = .);'
23
24 # Smuggle an "OTHER_DATA_END_SYMBOLS" here.
25 OTHER_GOT_SECTIONS='PROVIDE (__Edata = .);'
26 OTHER_BSS_SYMBOLS='PROVIDE (__Sbss = .);'
27 OTHER_BSS_END_SYMBOLS='PROVIDE (__Ebss = .);'
28
29 # Smuggle an "OTHER_ALL_END_SYMBOLS" here.
30 # Also add the other symbols provided for rsim/xsim and elinux.
31 OTHER_RELOCATING_SECTIONS='
32 PROVIDE (__Eall = .);
33 PROVIDE(__Endmem = 0x10000000);
34 PROVIDE(__Stacksize = 0);
35 '
This page took 0.029541 seconds and 4 git commands to generate.