Clean up bmarks build
[riscv-tests.git] / benchmarks / common / crt.S
index de1d7281d3296695b7f1df41330f6858110ae5db..38b963dedb7dda0b787f433baf3e4fce3ae1616f 100644 (file)
@@ -12,7 +12,7 @@
 # define REGBYTES 4
 #endif
 
-  .text
+  .section ".text.init"
   .globl _start
 _start:
   la t0, trap_entry
@@ -65,7 +65,7 @@ _start:
   j tohost_exit
 1:
 
-#ifdef __riscv_hard_float
+#ifdef __riscv_flen
   # initialize FPU if we have one
   andi t0, t0, 1 << ('f' - 'a')
   beqz t0, 1f