Bochs/bochs/bios/rombios32.ld
Volker Ruppert aacc148f7c - initial revision of the 32-bit init code for the Bochs BIOS
* CPU, PCI, ACPI and SMM init
  * MP and ACPI table generation
- MP table generation hack in the Bochs memory code disabled (should be removed)
- don't test the checksum of large BIOS images (for now)
- existing 16-bit PCIBIOS init disabled for now
2006-09-28 19:01:04 +00:00

20 lines
500 B
Plaintext

OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH(i386)
ENTRY(_start);
SECTIONS
{
. = 0x00040000;
.text : { *(.text) }
.rodata : { *(.rodata) }
. = ALIGN(4096);
.data : { *(.data) }
__bss_start = . ;
.bss : { *(.bss) *(COMMON) }
_end = . ;
/DISCARD/ : { *(.stab)
*(.stabstr)
*(.comment)
*(.note)
}
}