1 # This is an approximation of what we want for a real linux system (with MMU and ELF).
4 OUTPUT_FORMAT
="elf32-cris"
11 # Needed? Perhaps should be page-size alignment.
13 GENERATE_SHLIB_SCRIPT
=yes
15 # Is this high enough and low enough?
16 TEXT_START_ADDR
=0x80000
18 MAXPAGESIZE
="CONSTANT (MAXPAGESIZE)"
20 # We don't do the hoops through DEFINED to provide [_]*start, as it
21 # doesn't work with --gc-sections, and the start-name is pretty fixed
23 TEXT_START_SYMBOLS
='PROVIDE (__Stext = .);'
25 # Smuggle an "OTHER_TEXT_END_SYMBOLS" here.
26 OTHER_READONLY_SECTIONS
="${RELOCATING+PROVIDE (__Etext = .);}"
27 DATA_START_SYMBOLS
='PROVIDE (__Sdata = .);'
29 # Smuggle an "OTHER_DATA_END_SYMBOLS" here.
30 OTHER_SDATA_SECTIONS
="${RELOCATING+PROVIDE (__Edata = .);}"
31 OTHER_BSS_SYMBOLS
='PROVIDE (__Sbss = .);'
32 OTHER_BSS_END_SYMBOLS
='PROVIDE (__Ebss = .);'
34 # Also add the other symbols provided for rsim/xsim and elinux.
37 PROVIDE (__Endmem = 0x10000000);
38 PROVIDE (__Stacksize = 0);
This page took 0.032322 seconds and 4 git commands to generate.