Correct syntax errors which only appeared when relocating.
[deliverable/binutils-gdb.git] / ld / aout.sc-sh
CommitLineData
6ecb2b74
PB
1cat <<EOF
2OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3OUTPUT_ARCH(${ARCH})
4
5${RELOCATING+${LIB_SEARCH_DIRS}}
6${RELOCATING+__DYNAMIC = 0;}
7SECTIONS
8{
9 .text ${RELOCATING+${TEXT_START_ADDR}}:
10 {
11 CREATE_OBJECT_SYMBOLS
12 *(.text)
13 ${RELOCATING+_etext = ${DATA_ALIGNMENT};}
14 }
15 .data ${RELOCATING+${DATA_ALIGNMENT}} :
16 {
17 *(.data)
18 ${CONSTRUCTING+CONSTRUCTORS}
19 ${RELOCATING+_edata = .;}
20 }
21 .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
22 {
b5ddf942 23 ${RELOCATING+ __bss_start = .};
6ecb2b74
PB
24 *(.bss)
25 *(COMMON)
76971f0d
SC
26 ${RELOCATING+_end = . };
27 ${RELOCATING+__end = . };
6ecb2b74
PB
28 }
29}
30EOF
This page took 0.040539 seconds and 4 git commands to generate.