changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)
[deliverable/binutils-gdb.git] / ld / scripttempl / go32coff.sc
1 # Linker script for 386 go32
2 # DJ Delorie (dj@ctron.com)
3
4 test -z "$ENTRY" && ENTRY=_start
5 cat <<EOF
6 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
7 ${LIB_SEARCH_DIRS}
8
9 ENTRY(${ENTRY})
10
11 SECTIONS
12 {
13 .text ${RELOCATING+ SIZEOF_HEADERS} : {
14 *(.text)
15 ${RELOCATING+ etext = .};
16 }
17 .data ${RELOCATING+ ALIGN(${DATA_ALIGNMENT})} : {
18 ${RELOCATING+ *(.ctor)}
19 ${RELOCATING+ *(.dtor)}
20 *(.data)
21 ${RELOCATING+ edata = .};
22 ${RELOCATING+. = ALIGN(${PAGE_SIZE});}
23 }
24 .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
25 {
26 *(.bss)
27 *(COMMON)
28 ${RELOCATING+ end = .};
29 }
30 }
31 EOF
This page took 0.036716 seconds and 4 git commands to generate.