upgrade to latest rocket-chip

This commit is contained in:
Howard Mao
2017-05-25 10:42:19 -07:00
parent a123d82677
commit 062d443863
15 changed files with 112 additions and 100 deletions

View File

@@ -12,6 +12,7 @@
specifically one of the entires in bfd/cpu-mips.c */
OUTPUT_ARCH( "riscv" )
ENTRY(_start)
/*----------------------------------------------------------------------*/
/* Sections */
@@ -22,7 +23,7 @@ SECTIONS
/* text: test code section */
. = 0x80000000;
.text.init : { crt.o(.text) }
.text.init : { *(.text.init) }
.tohost ALIGN(0x1000) : { *(.tohost) }
@@ -32,7 +33,7 @@ SECTIONS
.data : { *(.data) }
.sdata : {
_gp = . + 0x800;
__global_pointer$ = . + 0x800;
*(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*)
*(.sdata .sdata.* .gnu.linkonce.s.*)
}
@@ -48,14 +49,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 */