]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/scripttempl/a29k.sc
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / ld / scripttempl / a29k.sc
1 cat <<EOF
2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3 INPUT(/lab3/u3/sym1/tools/usr/lib/segments.o) /* Has .rstack/.mstack */
4 ${LIB_SEARCH_DIRS}
5
6 MEMORY {
7 text : ORIGIN = 0x1000000, LENGTH = 0x1000000
8 talias : ORIGIN = 0x2000000, LENGTH = 0x1000000
9 data : ORIGIN = 0x3000000, LENGTH = 0x1000000
10 mstack : ORIGIN = 0x4000000, LENGTH = 0x1000000
11 rstack : ORIGIN = 0x5000000, LENGTH = 0x1000000
12 }
13 SECTIONS
14 {
15 .text : {
16 *(.text)
17 ${RELOCATING+ __etext = .};
18 *(.lit)
19 *(.shdata)
20 } ${RELOCATING+ > text}
21 .shbss SIZEOF(.text) + ADDR(.text) : {
22 *(.shbss)
23 }
24 .talias : { } ${RELOCATING+ > talias}
25 .data : {
26 *(.data)
27 ${RELOCATING+ __edata = .};
28 } ${RELOCATING+ > data}
29 .bss SIZEOF(.data) + ADDR(.data) :
30 {
31 *(.bss)
32 *(COMMON)
33 ${RELOCATING+ __end = ALIGN(0x8)};
34 }
35 .mstack : { } ${RELOCATING+ > mstack}
36 .rstack : { } ${RELOCATING+ > rstack}
37 }
38 EOF