aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/common
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-03-21 18:12:45 -0700
committerAndrew Waterman <andrew@sifive.com>2017-03-21 18:12:45 -0700
commita83e3b9243e57a50de283fc07d5b6c81c0443b3d (patch)
treef17c97e08b7e84f55dd02fc8620b382ecec684d9 /benchmarks/common
parent9fbc573597c8087ab0aa8e20d8835cfc2c5097a4 (diff)
downloadriscv-tests-a83e3b9243e57a50de283fc07d5b6c81c0443b3d.zip
riscv-tests-a83e3b9243e57a50de283fc07d5b6c81c0443b3d.tar.gz
riscv-tests-a83e3b9243e57a50de283fc07d5b6c81c0443b3d.tar.bz2
Clean up bmarks build
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 */