|
Last change
on this file since 3888 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:
1020 bytes
|
| Line | |
|---|
| 1 | TORS=".tors :
|
|---|
| 2 | {
|
|---|
| 3 | ___ctors = . ;
|
|---|
| 4 | *(.ctors)
|
|---|
| 5 | ___ctors_end = . ;
|
|---|
| 6 | ___dtors = . ;
|
|---|
| 7 | *(.dtors)
|
|---|
| 8 | ___dtors_end = . ;
|
|---|
| 9 | } > ram"
|
|---|
| 10 |
|
|---|
| 11 | cat <<EOF
|
|---|
| 12 | OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
|---|
| 13 | OUTPUT_ARCH(${ARCH})
|
|---|
| 14 |
|
|---|
| 15 | MEMORY
|
|---|
| 16 | {
|
|---|
| 17 | ram : o = 0x1000, l = 512k
|
|---|
| 18 | }
|
|---|
| 19 |
|
|---|
| 20 | SECTIONS
|
|---|
| 21 | {
|
|---|
| 22 | .text :
|
|---|
| 23 | {
|
|---|
| 24 | *(.text)
|
|---|
| 25 | *(.strings)
|
|---|
| 26 | ${RELOCATING+ _etext = . ; }
|
|---|
| 27 | } ${RELOCATING+ > ram}
|
|---|
| 28 | ${CONSTRUCTING+${TORS}}
|
|---|
| 29 | .data :
|
|---|
| 30 | {
|
|---|
| 31 | *(.data)
|
|---|
| 32 | ${RELOCATING+*(.gcc_exc*)}
|
|---|
| 33 | ${RELOCATING+___EH_FRAME_BEGIN__ = . ;}
|
|---|
| 34 | ${RELOCATING+*(.eh_fram*)}
|
|---|
| 35 | ${RELOCATING+___EH_FRAME_END__ = . ;}
|
|---|
| 36 | ${RELOCATING+LONG(0);}
|
|---|
| 37 | ${RELOCATING+ _edata = . ; }
|
|---|
| 38 | } ${RELOCATING+ > ram}
|
|---|
| 39 | .bss :
|
|---|
| 40 | {
|
|---|
| 41 | ${RELOCATING+ _bss_start = . ; }
|
|---|
| 42 | *(.bss)
|
|---|
| 43 | *(COMMON)
|
|---|
| 44 | ${RELOCATING+ _end = . ; }
|
|---|
| 45 | } ${RELOCATING+ > ram}
|
|---|
| 46 | .stack ${RELOCATING+ 0x30000 } :
|
|---|
| 47 | {
|
|---|
| 48 | ${RELOCATING+ _stack = . ; }
|
|---|
| 49 | *(.stack)
|
|---|
| 50 | } ${RELOCATING+ > ram}
|
|---|
| 51 | .stab 0 ${RELOCATING+(NOLOAD)} :
|
|---|
| 52 | {
|
|---|
| 53 | *(.stab)
|
|---|
| 54 | }
|
|---|
| 55 | .stabstr 0 ${RELOCATING+(NOLOAD)} :
|
|---|
| 56 | {
|
|---|
| 57 | *(.stabstr)
|
|---|
| 58 | }
|
|---|
| 59 | }
|
|---|
| 60 | EOF
|
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.