bfd/
[deliverable/binutils-gdb.git] / ld / emulparams / crislinux.sh
CommitLineData
9d06555c
HPN
1# This is an approximation of what we want for a real linux system (with MMU and ELF).
2MACHINE=
3SCRIPT_NAME=elf
4OUTPUT_FORMAT="elf32-cris"
5ARCH=cris
6TEMPLATE_NAME=elf32
8c899858
HPN
7
8ENTRY=_start
9
9d06555c
HPN
10# Needed? Perhaps should be page-size alignment.
11ALIGNMENT=32
12GENERATE_SHLIB_SCRIPT=yes
13
14# Is this high enough and low enough?
15TEXT_START_ADDR=0x80000
16
24718e3b 17MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
9d06555c 18
8c899858
HPN
19# We don't do the hoops through DEFINED to provide [_]*start, as it
20# doesn't work with --gc-sections, and the start-name is pretty fixed
21# anyway.
22TEXT_START_SYMBOLS='PROVIDE (__Stext = .);'
24dd9f75 23
9d06555c 24# Smuggle an "OTHER_TEXT_END_SYMBOLS" here.
465bc359 25OTHER_READONLY_SECTIONS="${RELOCATING+PROVIDE (__Etext = .);}"
9d06555c
HPN
26DATA_START_SYMBOLS='PROVIDE (__Sdata = .);'
27
28# Smuggle an "OTHER_DATA_END_SYMBOLS" here.
465bc359 29OTHER_SDATA_SECTIONS="${RELOCATING+PROVIDE (__Edata = .);}"
9d06555c 30OTHER_BSS_SYMBOLS='PROVIDE (__Sbss = .);'
827a1c67 31OTHER_BSS_END_SYMBOLS='PROVIDE (__Ebss = .);'
9d06555c 32
9d06555c 33# Also add the other symbols provided for rsim/xsim and elinux.
827a1c67 34OTHER_SYMBOLS='
465bc359
AM
35 PROVIDE (__Eall = .);
36 PROVIDE (__Endmem = 0x10000000);
5b5cd1b0
HPN
37 PROVIDE (__Stacksize = 0);
38'
39NO_SMALL_DATA=yes
This page took 0.708123 seconds and 4 git commands to generate.