1 // Linker definitions for merging 16 and 32 bit 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")
14 .text code32_start : {
17 . = code16_start + BUILD_BIOS_ADDR - code32_start ;
19 final_code16_end = . ;
22 *(.text*) *(.data*) *(.bss*) *(.rodata*)
23 *(COMMON) *(.discard*) *(.eh_frame)