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:
849 bytes
|
Line | |
---|
1 | cat <<EOF
|
---|
2 | OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
---|
3 | ENTRY(start)
|
---|
4 |
|
---|
5 | SECTIONS {
|
---|
6 | .text ${RELOCATING+${TEXT_START_ADDR}} :
|
---|
7 | {
|
---|
8 | *(.text);
|
---|
9 | *(.text1);
|
---|
10 | *(.text2);
|
---|
11 | ${RELOCATING+_etext = .};
|
---|
12 | }
|
---|
13 | .lit ALIGN(4) :
|
---|
14 | {
|
---|
15 | *(.lit);
|
---|
16 | ${RELOCATING+_elit = .};
|
---|
17 | }
|
---|
18 | .data ALIGN(4) :
|
---|
19 | {
|
---|
20 | *(.data);
|
---|
21 | *(.data1);
|
---|
22 | *(.data2);
|
---|
23 | ${RELOCATING+_edata = .};
|
---|
24 | ${CONSTRUCTING+CONSTRUCTORS}
|
---|
25 | ${CONSTRUCTING+ ___CTOR_LIST__ = .;}
|
---|
26 | ${CONSTRUCTING+ LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)}
|
---|
27 | ${CONSTRUCTING+ *(.ctors)}
|
---|
28 | ${CONSTRUCTING+ LONG(0)}
|
---|
29 | ${CONSTRUCTING+ ___CTOR_END__ = .;}
|
---|
30 | ${CONSTRUCTING+ ___DTOR_LIST__ = .;}
|
---|
31 | ${CONSTRUCTING+ LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2)}
|
---|
32 | ${CONSTRUCTING+ *(.dtors)}
|
---|
33 | ${CONSTRUCTING+ LONG(0)}
|
---|
34 | ${CONSTRUCTING+ ___DTOR_END__ = .;}
|
---|
35 | }
|
---|
36 |
|
---|
37 | .bss ALIGN(4) :
|
---|
38 | {
|
---|
39 | *(COMMON)
|
---|
40 | *(.bss)
|
---|
41 | ${RELOCATING+_end = .};
|
---|
42 | }
|
---|
43 | }
|
---|
44 | EOF
|
---|
Note:
See
TracBrowser
for help on using the repository browser.