1 // Placement of the 16bit code.
3 // Copyright (C) 2008,2009 Kevin O'Connor <kevin@koconnor.net>
5 // This file may be distributed under the terms of the GNU LGPLv3 license.
7 #include "config.h" // BUILD_BIOS_ADDR
9 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
14 // The actual placement of the 16bit sections is determined by the
15 // script tools/layoutrom.py
16 #include "../out/romlayout16.lds"
18 // Discard regular data sections to force a link error if
19 // 16bit code attempts to access data not marked with VAR16.
20 /DISCARD/ : { *(.text*) *(.rodata*) *(.data*) *(.bss*) *(COMMON) }