More resonable default.
[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;}
5b4249d7 7${STACKZERO+${RELOCATION+${STACKZERO}}}
6ecb2b74
PB
8SECTIONS
9{
10 .text ${RELOCATING+${TEXT_START_ADDR}}:
11 {
12 CREATE_OBJECT_SYMBOLS
13 *(.text)
14 ${RELOCATING+_etext = ${DATA_ALIGNMENT};}
15 }
16 .data ${RELOCATING+${DATA_ALIGNMENT}} :
17 {
18 *(.data)
19 ${CONSTRUCTING+CONSTRUCTORS}
20 ${RELOCATING+_edata = .;}
21 }
22 .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
23 {
b5ddf942 24 ${RELOCATING+ __bss_start = .};
6ecb2b74
PB
25 *(.bss)
26 *(COMMON)
76971f0d
SC
27 ${RELOCATING+_end = . };
28 ${RELOCATING+__end = . };
6ecb2b74
PB
29 }
30}
31EOF
This page took 0.047895 seconds and 4 git commands to generate.