SECTIONS
{
. = 0xA8000;
-
- .aseg 0xA8000 : {
+ .aseg : {
_start = .;
aseg.o
+ LONG(_stacktop);
+ LONG(_bss);
+ LONG(_bssend - _bss);
+ LONG(smi_entry);
+ *(.text);
+ *(.data);
+ *(.rodata);
+ }
+
+ . = 0x1FF80000;
+ .bss : {
+ _bss = .;
+ *(.bss);
+ _bssend = .;
+ }
+ .stack : {
+ . = . + 0x10000;
+ . = ALIGN(0x10);
+ _stacktop = .;
+ }
+
+ . = 0x10000;
+ .info : {
+ _start = .;
+ LONG(0x5754454E);
+ LONG(__firstrun_start);
}
}