blob: 330834555c32e881767facf2d3aea4f6f9ed2bac [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 GPLv3 license.
#include "config.h"
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH("i386")
SECTIONS
{
. = BUILD_BIOS_ADDR ;
code32_start = . ;
.text : {
*(.text)
code32_rodata = . ;
*(.rodata*)
code32_data = . ;
*(.data)
. = ALIGN(16) ;
__bss_start = . ;
*(.bss)
*(COMMON)
__bss_end = . ;
}
code32_end = . ;
}