diff options
Diffstat (limited to 'ld/ldgldi386vr.sc')
-rwxr-xr-x | ld/ldgldi386vr.sc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ld/ldgldi386vr.sc b/ld/ldgldi386vr.sc new file mode 100755 index 0000000..9805f39 --- /dev/null +++ b/ld/ldgldi386vr.sc @@ -0,0 +1,26 @@ +/* $Id$ +*/ + +OUTPUT_FORMAT("i386coff") + +ENTRY(_start) +SECTIONS +{ + .text 0x000000d0 : { + *(.init) + *(.text) + *(.fini) + etext = .; + } + .data ((ADDR(.text) + SIZEOF(.text)) & 0x0fff) + ALIGN(0x00400000) : { + *(.data) + edata = .; + } + .bss (SIZEOF(.data) + ADDR(.data)) : { + *(.bss) + [COMMON] + end = ALIGN(0x8); + } + .comment : { *(.comment) } +} + |