]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/scripttempl/m68klynx.sc
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / ld / scripttempl / m68klynx.sc
CommitLineData
dd3f0e5b
SS
1test -z "$ENTRY" && ENTRY=_start
2cat <<EOF
3OUTPUT_FORMAT("${OUTPUT_FORMAT}")
4${LIB_SEARCH_DIRS}
5
6ENTRY(${ENTRY})
7
8SECTIONS
9{
10 .text ${RELOCATING+ SIZEOF_HEADERS} : {
11 *(.init)
12 *(.text)
13 *(.fini)
14 ${RELOCATING+ etext = .};
15 }
16 .data ${RELOCATING+ 0x400000 + (. & 0xffc00fff)} : {
17 *(.data .data2)
18 ${RELOCATING+ edata = .};
19 }
20 .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
21 {
22 *(.bss)
23 *(COMMON)
24 ${RELOCATING+ end = .};
25 }
26 .stab . (NOLOAD) :
27 {
28 [ .stab ]
29 }
30 .stabstr . (NOLOAD) :
31 {
32 [ .stabstr ]
33 }
34}
35EOF