diff options
Diffstat (limited to 'ld/ldgldi386vUr.sc')
-rwxr-xr-x | ld/ldgldi386vUr.sc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ld/ldgldi386vUr.sc b/ld/ldgldi386vUr.sc new file mode 100755 index 0000000..9805f39 --- /dev/null +++ b/ld/ldgldi386vUr.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) } +} + |