1 // Linker definitions for an option rom
3 // Copyright (C) 2009 Kevin O'Connor <kevin@koconnor.net>
5 // This file may be distributed under the terms of the GNU LGPLv3 license.
7 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
9 ENTRY(_optionrom_entry)
20 // Discard regular data sections to force a link error if
21 // 16bit code attempts to access data not marked with VAR16.
22 /DISCARD/ : { *(.text*) *(.rodata*) *(.data*) *(.bss*) *(COMMON) }