Fix some niggling issues --- we have our first binary now!
authorDavid Given <dg@cowlark.com>
Sun, 9 Sep 2018 10:24:22 +0000 (12:24 +0200)
committerDavid Given <dg@cowlark.com>
Sun, 9 Sep 2018 10:24:22 +0000 (12:24 +0200)
mach/mips/libem/csa.s
mach/mips/libem/fd_80000000.s
mach/mips/libem/ff_80000000.s
mach/mips/libem/trp.s

index b035725..1bdd41b 100644 (file)
@@ -9,6 +9,7 @@
  * Stack: ( value tableaddr -- )
  */
 
+.sect .text
 .define .csa
 .csa:
        lw r4, 0(sp)            /* r4 = table */
index 1cc52ca..3618d0b 100644 (file)
@@ -1,10 +1,9 @@
 #
 .sect .text; .sect .rom; .sect .data; .sect .bss
 
-.sect .rom
-
 /* 2147483648 as a double; used as a pivot for double->unsigned and unsigned->double. */
 
+.sect .rom
 .define .fd_80000000
 .fd_80000000:
        .data4 0x41e00000, 0
index 54e274f..95e4f95 100644 (file)
@@ -1,10 +1,9 @@
 #
 .sect .text; .sect .rom; .sect .data; .sect .bss
 
-.sect .rom
-
 /* 2147483648 as a float; used as a pivot for double->float and unsigned->float. */
 
+.sect .rom
 .define .ff_80000000
 .ff_80000000:
        .data4 0x4f000000
index 827a50b..1794459 100644 (file)
@@ -1,8 +1,10 @@
+#
 .sect .text
 .sect .rom
 .sect .data
 .sect .bss
 
+.sect .text
 .define .trap_ecase
 .trap_ecase:
        li      r3, 20                  ! ECASE = 20 in h/em_abs.h