Last change
on this file since 3003 was 10, checked in by bird, 22 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
979 bytes
|
Line | |
---|
1 | cat <<EOF
|
---|
2 | OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
---|
3 | ${LIB_SEARCH_DIRS}
|
---|
4 | PROVIDE (__stack = 0);
|
---|
5 | SECTIONS
|
---|
6 | {
|
---|
7 | .text ${RELOCATING+ 0x1000000} : {
|
---|
8 | *(.text)
|
---|
9 | ${CONSTRUCTING+ . = ALIGN(4);}
|
---|
10 | ${RELOCATING+ etext = .;}
|
---|
11 | ${CONSTRUCTING+ __CTOR_LIST__ = .;}
|
---|
12 | ${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)}
|
---|
13 | ${CONSTRUCTING+ *(.ctors)}
|
---|
14 | ${CONSTRUCTING+ LONG(0)}
|
---|
15 | ${CONSTRUCTING+ __CTOR_END__ = .;}
|
---|
16 | ${CONSTRUCTING+ __DTOR_LIST__ = .;}
|
---|
17 | ${CONSTRUCTING+ LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)}
|
---|
18 | ${CONSTRUCTING+ *(.dtors)}
|
---|
19 | ${CONSTRUCTING+ LONG(0)}
|
---|
20 | ${CONSTRUCTING+ __DTOR_END__ = .;}
|
---|
21 | }
|
---|
22 | .data : {
|
---|
23 | *(.data)
|
---|
24 | ${RELOCATING+ edata = .};
|
---|
25 | }
|
---|
26 | .bss : {
|
---|
27 | ${RELOCATING+ __bss_start = .};
|
---|
28 | *(.bss)
|
---|
29 | *(COMMON)
|
---|
30 | ${RELOCATING+ end = ALIGN(0x8)};
|
---|
31 | ${RELOCATING+ _end = ALIGN(0x8)};
|
---|
32 | }
|
---|
33 | .stab 0 ${RELOCATING+(NOLOAD)} :
|
---|
34 | {
|
---|
35 | [ .stab ]
|
---|
36 | }
|
---|
37 | .stabstr 0 ${RELOCATING+(NOLOAD)} :
|
---|
38 | {
|
---|
39 | [ .stabstr ]
|
---|
40 | }
|
---|
41 | }
|
---|
42 | EOF
|
---|
Note:
See
TracBrowser
for help on using the repository browser.