2006-12-07 01:14:04 +00:00
|
|
|
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
|
|
|
|
OUTPUT_ARCH(i386)
|
|
|
|
ENTRY(startup_32)
|
|
|
|
SECTIONS
|
|
|
|
{
|
2008-01-30 12:33:37 +00:00
|
|
|
/* Be careful parts of head_32.S assume startup_32 is at
|
|
|
|
* address 0.
|
2006-12-07 01:14:04 +00:00
|
|
|
*/
|
2008-01-30 12:33:37 +00:00
|
|
|
. = 0;
|
2006-12-07 01:14:04 +00:00
|
|
|
.text.head : {
|
|
|
|
_head = . ;
|
|
|
|
*(.text.head)
|
|
|
|
_ehead = . ;
|
|
|
|
}
|
2008-01-30 12:33:38 +00:00
|
|
|
.rodata.compressed : {
|
|
|
|
*(.rodata.compressed)
|
2006-12-07 01:14:04 +00: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 = . ;
|
|
|
|
}
|
|
|
|
}
|