# mach: or1k
# output: report(0x00002064);\n
-# output: report(0x00012138);\n
+# output: report(0x0001a008);\n
# output: report(0x00002000);\n
-# output: report(0x00012000);\n
+# output: report(0x0001a000);\n
# output: report(0x00002000);\n
# output: report(0x00014000);\n
# output: report(0x00000000);\n
.section .data
.org 0x10000
.align 4
+pad: .quad 0
.type pi, @object
.size pi, 4
pi:
* r13 e as float
* r16 nan as float
*/
- l.ori r11, r0, ha(anchor)
+ l.movhi r11, ha(anchor)
l.addi r11, r11, lo(anchor)
l.lwz r12, 0(r11)
* r14,r15 e as double
* r16,r17 nan as double
*/
- l.ori r11, r0, ha(anchor)
+ l.movhi r11, ha(anchor)
l.addi r11, r11, lo(anchor)
l.lwz r12, 0(r11)
l.lwz r13, 4(r11)
* r14,r15 e as double
* r16,r17 a long long
*/
- l.ori r11, r0, ha(anchor)
+ l.movhi r11, ha(anchor)
l.addi r11, r11, lo(anchor)
l.lwz r12, 0(r11)
l.lwz r13, 4(r11)
/* The exception vectors actually start at 0x100, but if you specify
that address here, the "--output-target binary" step will start from
address 0 with the contents meant for address 0x100. */
- exception_vectors : ORIGIN = 0 , LENGTH = 8K
- ram : ORIGIN = 8K, LENGTH = 2M - 8K
+ exception_vectors : ORIGIN = 0 , LENGTH = 8K
+ rom : ORIGIN = 8K, LENGTH = 40K
+ ram : ORIGIN = 40K, LENGTH = 2M - 40K
}
SECTIONS
*(.text.*)
*(.rodata)
*(.rodata.*)
- } > ram
+ } > rom
.data :
{