blob: 4aa88f083264bddd28afb6dfd633c2cf202cfa45 [file] [log] [blame]
// Linker definitions for 32 bit code
//
// Copyright (C) 2008 Kevin O'Connor <kevin@koconnor.net>
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
#include "config.h" // BUILD_BIOS_ADDR
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH("i386")
SECTIONS
{
. = BUILD_BIOS_ADDR ;
code32_start = . ;
.text : {
*(.text)
code32_rodata = . ;
*(.rodata*)
*(.data)
*(.bss)
*(COMMON)
}
code32_end = . ;
}