coreboot-kgpe-d16/util/mkelfImage/linux-i386/convert.lds
Stefan Reinauer b34eea348c Importing mkelfimage from
ftp://ftp.lnxi.com/pub/mkelfImage/mkelfImage-2.7.tar.gz

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3103 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2008-02-15 18:16:06 +00:00

36 lines
545 B
Text

OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH(i386)
ENTRY(startup_32)
SECTIONS
{
. = 0x10000;
_text = .; /* Text and read-only data */
.text . : {
*(.text)
*(.text.*)
} = 0x9090
.rodata (.): {
*(.rodata)
*(.rodata.*)
}
_etext = .; /* End of text section */
.data (.): { /* Data */
*(.data)
*(.data.*)
*(.trailer)
}
_edata = .; /* End of data section */
_bss = .; /* BSS */
.bss (.): {
*(.bss)
}
_end = . ;
bss_size = _end - _bss;
/DISCARD/ : {
*(.comment)
*(.note)
}
}