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