aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/common
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/common')
-rw-r--r--benchmarks/common/crt.S2
-rw-r--r--benchmarks/common/test.ld8
2 files changed, 5 insertions, 5 deletions
diff --git a/benchmarks/common/crt.S b/benchmarks/common/crt.S
index a821769..38b963d 100644
--- a/benchmarks/common/crt.S
+++ b/benchmarks/common/crt.S
@@ -12,7 +12,7 @@
# define REGBYTES 4
#endif
- .text
+ .section ".text.init"
.globl _start
_start:
la t0, trap_entry
diff --git a/benchmarks/common/test.ld b/benchmarks/common/test.ld
index dd32bb1..8141dda 100644
--- a/benchmarks/common/test.ld
+++ b/benchmarks/common/test.ld
@@ -22,7 +22,7 @@ SECTIONS
/* text: test code section */
. = 0x80000000;
- .text.init : { crt.o(.text) }
+ .text.init : { *(.text.init) }
.tohost ALIGN(0x1000) : { *(.tohost) }
@@ -48,14 +48,14 @@ SECTIONS
.tdata :
{
_tls_data = .;
- crt.o(.tdata.begin)
+ *(.tdata.begin)
*(.tdata)
- crt.o(.tdata.end)
+ *(.tdata.end)
}
.tbss :
{
*(.tbss)
- crt.o(.tbss.end)
+ *(.tbss.end)
}
/* End of uninitalized data segement */