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
This commit is contained in:
committed by
Stefan Reinauer
parent
46fc14dcc8
commit
b34eea348c
36
util/mkelfImage/linux-i386/convert.lds
Normal file
36
util/mkelfImage/linux-i386/convert.lds
Normal file
@@ -0,0 +1,36 @@
|
||||
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)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user