Thu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com>
[deliverable/binutils-gdb.git] / ld / scripttempl / i386msdos.sc
CommitLineData
a2fb6995
KR
1cat <<EOF
2OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3OUTPUT_ARCH(${ARCH})
4
5${RELOCATING+${LIB_SEARCH_DIRS}}
6${STACKZERO+${RELOCATING+${STACKZERO}}}
7SECTIONS
8{
9 ${RELOCATING+. = ${TEXT_START_ADDR};}
10 .text :
11 {
12 CREATE_OBJECT_SYMBOLS
13 *(.text)
14 ${RELOCATING+etext = .;}
15 ${RELOCATING+_etext = .;}
16 ${RELOCATING+__etext = .;}
17 ${PAD_TEXT+${RELOCATING+. = ${DATA_ALIGNMENT};}}
18 }
19 ${RELOCATING+. = ${DATA_ALIGNMENT};}
20 .rodata ${RELOCATING-0} : { *(.rodata) }
21 .data :
22 {
23 *(.data)
24 ${CONSTRUCTING+CONSTRUCTORS}
25 ${RELOCATING+edata = .;}
26 ${RELOCATING+_edata = .;}
27 ${RELOCATING+__edata = .;}
28 }
29 .bss :
30 {
31 ${RELOCATING+ _bss_start = .};
32 ${RELOCATING+ __bss_start = .};
33 *(.bss)
34 *(COMMON)
35 ${RELOCATING+end = ALIGN(4) };
36 ${RELOCATING+_end = ALIGN(4) };
37 ${RELOCATING+__end = ALIGN(4) };
38 }
39}
40EOF
This page took 0.115053 seconds and 4 git commands to generate.