From a83e3b9243e57a50de283fc07d5b6c81c0443b3d Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Tue, 21 Mar 2017 18:12:45 -0700 Subject: Clean up bmarks build --- benchmarks/common/crt.S | 2 +- benchmarks/common/test.ld | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'benchmarks/common') 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 */ -- cgit v1.1