{
/* text: test code section */
- . = 0;
- .text :
- {
- crt.o(.text)
- *(.text)
- }
+ . = 0x80000000;
+ .text.init : { crt.o(.text) }
+
+ .tohost ALIGN(0x1000) : { *(.tohost) }
+
+ .text : { *(.text) }
- /* data segmemt */
+ /* data segment */
.data : { *(.data) }
+
+ .sdata : {
+ _gp = . + 0x800;
+ *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*)
+ *(.sdata .sdata.* .gnu.linkonce.s.*)
+ }
+
+ /* bss segment */
+ .sbss : {
+ *(.sbss .sbss.* .gnu.linkonce.sb.*)
+ *(.scommon)
+ }
.bss : { *(.bss) }
/* thread-local data segment */