2008-02-15 19:16:06 +01:00
|
|
|
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
|
2010-04-27 08:56:47 +02:00
|
|
|
.rodata (.): {
|
|
|
|
*(.rodata)
|
2008-02-15 19:16:06 +01:00
|
|
|
*(.rodata.*)
|
|
|
|
}
|
|
|
|
_etext = .; /* End of text section */
|
|
|
|
.data (.): { /* Data */
|
|
|
|
*(.data)
|
|
|
|
*(.data.*)
|
|
|
|
*(.trailer)
|
|
|
|
}
|
|
|
|
_edata = .; /* End of data section */
|
|
|
|
_bss = .; /* BSS */
|
|
|
|
.bss (.): {
|
|
|
|
*(.bss)
|
|
|
|
}
|
|
|
|
_end = . ;
|
2008-08-06 22:37:38 +02:00
|
|
|
bss_sizex = _end - _bss;
|
2010-04-27 08:56:47 +02:00
|
|
|
|
2008-02-15 19:16:06 +01:00
|
|
|
/DISCARD/ : {
|
|
|
|
*(.comment)
|
|
|
|
*(.note)
|
|
|
|
}
|
|
|
|
}
|