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+ 0x1000+SIZEOF_HEADERS} : {
15 ${RELOCATING+ etext = . ; _etext = .};
16 ${RELOCATING+ . = ALIGN(0x200);}
18 .data ${RELOCATING+ ${DATA_ALIGNMENT}} : {
19 ${RELOCATING+ *(.ctor)}
20 ${RELOCATING+ *(.dtor)}
22 ${RELOCATING+ edata = . ; _edata = .};
23 ${RELOCATING+ . = ALIGN(0x200);}
25 .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
29 ${RELOCATING+ end = . ; _end = .};
30 ${RELOCATING+ . = ALIGN(0x200);}