1 # Linker script for 386 go32
2 # DJ Delorie (dj@ctron.com)
4 test -z "$ENTRY" && ENTRY=_start
6 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
13 .text ${RELOCATING+ SIZEOF_HEADERS} : {
15 ${RELOCATING+ etext = .};
17 .data ${RELOCATING+ ALIGN(${DATA_ALIGNMENT})} : {
18 ${RELOCATING+ *(.ctor)}
19 ${RELOCATING+ *(.dtor)}
21 ${RELOCATING+ edata = .};
22 ${RELOCATING+. = ALIGN(${PAGE_SIZE});}
24 .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
28 ${RELOCATING+ end = .};