2006-12-07 09:14:04 +08:00
|
|
|
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
|
|
|
|
OUTPUT_ARCH(i386)
|
|
|
|
ENTRY(startup_32)
|
|
|
|
SECTIONS
|
|
|
|
{
|
2008-01-30 20:33:37 +08:00
|
|
|
/* Be careful parts of head_32.S assume startup_32 is at
|
|
|
|
* address 0.
|
2006-12-07 09:14:04 +08:00
|
|
|
*/
|
2008-01-30 20:33:37 +08:00
|
|
|
. = 0;
|
2006-12-07 09:14:04 +08:00
|
|
|
.text.head : {
|
|
|
|
_head = . ;
|
|
|
|
*(.text.head)
|
|
|
|
_ehead = . ;
|
|
|
|
}
|
2008-01-30 20:33:38 +08:00
|
|
|
.rodata.compressed : {
|
|
|
|
*(.rodata.compressed)
|
2006-12-07 09:14:04 +08:00
|
|
|
}
|
|
|
|
.text : {
|
|
|
|
_text = .; /* Text */
|
|
|
|
*(.text)
|
|
|
|
*(.text.*)
|
|
|
|
_etext = . ;
|
|
|
|
}
|
|
|
|
.rodata : {
|
|
|
|
_rodata = . ;
|
|
|
|
*(.rodata) /* read-only data */
|
|
|
|
*(.rodata.*)
|
|
|
|
_erodata = . ;
|
|
|
|
}
|
|
|
|
.data : {
|
|
|
|
_data = . ;
|
|
|
|
*(.data)
|
|
|
|
*(.data.*)
|
|
|
|
_edata = . ;
|
|
|
|
}
|
|
|
|
.bss : {
|
|
|
|
_bss = . ;
|
|
|
|
*(.bss)
|
|
|
|
*(.bss.*)
|
|
|
|
*(COMMON)
|
|
|
|
_end = . ;
|
|
|
|
}
|
|
|
|
}
|