Bochs/bochs/bios/rombios32.ld
Stanislav Shwartsman 4bc2d5b4e9 Execute rombios32 code from rom address 0xe0000.
Patch by Gleb Natapov
2008-12-04 18:44:14 +00:00

18 lines
518 B
Plaintext

OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH(i386)
ENTRY(_start);
SECTIONS
{
. = 0x000e0000;
.text : { *(.text) }
.rodata : { *(.rodata*) }
_end = . ;
.data 0x700 : AT (_end) { __data_start = .; *(.data); __data_end = .;}
.bss : { __bss_start = .; *(.bss) *(COMMON); __bss_end = .;}
/DISCARD/ : { *(.stab)
*(.stabstr)
*(.comment)
*(.note)
}
}