1 # Linker script for i386 go32 COFF.
3 test -z "$ENTRY" && ENTRY=_start
4 # These are substituted in as variables in order to get '}' in a shell
5 # conditional expansion.
6 INIT='.init : { *(.init) }'
7 FINI='.fini : { *(.fini) }'
9 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
16 .text ${RELOCATING+ 0x10a8} : {
17 ${RELOCATING+ *(.init)}
19 ${RELOCATING+ *(.fini)}
20 ${RELOCATING+ etext = .};
22 .data ALIGN (0x1000) : {
26 ${RELOCATING+ _edata = .};
28 .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
32 ${RELOCATING+ end = .};
34 ${RELOCATING- ${INIT}}
35 ${RELOCATING- ${FINI}}