|
Last change
on this file since 3138 was 610, checked in by bird, 22 years ago |
|
This commit was generated by cvs2svn to compensate for changes in r609,
which included commits to RCS files with non-trunk default branches.
|
-
Property cvs2svn:cvs-rev
set to
1.1.1.2
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 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 |
|
|---|
| 8 | ENTRY=_start
|
|---|
| 9 |
|
|---|
| 10 | # Needed? Perhaps should be page-size alignment.
|
|---|
| 11 | ALIGNMENT=32
|
|---|
| 12 | GENERATE_SHLIB_SCRIPT=yes
|
|---|
| 13 |
|
|---|
| 14 | # Is this high enough and low enough?
|
|---|
| 15 | TEXT_START_ADDR=0x80000
|
|---|
| 16 |
|
|---|
| 17 | MAXPAGESIZE=8192
|
|---|
| 18 |
|
|---|
| 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.
|
|---|
| 22 | TEXT_START_SYMBOLS='PROVIDE (__Stext = .);'
|
|---|
| 23 |
|
|---|
| 24 | # Smuggle an "OTHER_TEXT_END_SYMBOLS" here.
|
|---|
| 25 | OTHER_READONLY_SECTIONS="${RELOCATING+PROVIDE (__Etext = .);}"
|
|---|
| 26 | DATA_START_SYMBOLS='PROVIDE (__Sdata = .);'
|
|---|
| 27 |
|
|---|
| 28 | # Smuggle an "OTHER_DATA_END_SYMBOLS" here.
|
|---|
| 29 | OTHER_SDATA_SECTIONS="${RELOCATING+PROVIDE (__Edata = .);}"
|
|---|
| 30 | OTHER_BSS_SYMBOLS='PROVIDE (__Sbss = .);'
|
|---|
| 31 | OTHER_BSS_END_SYMBOLS='PROVIDE (__Ebss = .);'
|
|---|
| 32 |
|
|---|
| 33 | # Also add the other symbols provided for rsim/xsim and elinux.
|
|---|
| 34 | OTHER_END_SYMBOLS='
|
|---|
| 35 | PROVIDE (__Eall = .);
|
|---|
| 36 | PROVIDE (__Endmem = 0x10000000);
|
|---|
| 37 | PROVIDE (__Stacksize = 0);
|
|---|
| 38 | '
|
|---|
| 39 | NO_SMALL_DATA=yes
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.