upgrade to latest rocket-chip
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user