forked from Firmware/Firmwares
updates linker script for rtl env
This commit is contained in:
parent
ca1adccb2b
commit
9c0047b3ea
7
bare-metal-bsp/env/rtl/link.lds
vendored
7
bare-metal-bsp/env/rtl/link.lds
vendored
@ -118,6 +118,7 @@ SECTIONS
|
|||||||
|
|
||||||
.data :
|
.data :
|
||||||
{
|
{
|
||||||
|
__DATA_BEGIN__ = .;
|
||||||
*(.data .data.*)
|
*(.data .data.*)
|
||||||
*(.gnu.linkonce.d.*)
|
*(.gnu.linkonce.d.*)
|
||||||
} >ram AT>flash :ram_init
|
} >ram AT>flash :ram_init
|
||||||
@ -134,6 +135,7 @@ SECTIONS
|
|||||||
|
|
||||||
.sdata :
|
.sdata :
|
||||||
{
|
{
|
||||||
|
__SDATA_BEGIN__ = .;
|
||||||
*(.sdata .sdata.*)
|
*(.sdata .sdata.*)
|
||||||
*(.gnu.linkonce.s.*)
|
*(.gnu.linkonce.s.*)
|
||||||
} >ram AT>flash :ram_init
|
} >ram AT>flash :ram_init
|
||||||
@ -155,6 +157,8 @@ SECTIONS
|
|||||||
} >ram AT>ram :ram
|
} >ram AT>ram :ram
|
||||||
|
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
|
__BSS_END__ = .;
|
||||||
|
__global_pointer$ = MIN(__SDATA_BEGIN__ + 0x800, MAX(__DATA_BEGIN__ + 0x800, __BSS_END__ - 0x800));
|
||||||
PROVIDE( _end = . );
|
PROVIDE( _end = . );
|
||||||
PROVIDE( end = . );
|
PROVIDE( end = . );
|
||||||
|
|
||||||
@ -165,6 +169,7 @@ SECTIONS
|
|||||||
PROVIDE( _sp = . );
|
PROVIDE( _sp = . );
|
||||||
} >ram AT>ram :ram
|
} >ram AT>ram :ram
|
||||||
|
|
||||||
PROVIDE( tohost = 0x00018000 );
|
#PROVIDE( tohost = 0x00018000 );
|
||||||
|
PROVIDE( tohost = 0xfffffff0 );
|
||||||
PROVIDE( fromhost = 0xfffffff8 );
|
PROVIDE( fromhost = 0xfffffff8 );
|
||||||
}
|
}
|
||||||
|
1
benchmarks/dhrystone/.gitignore
vendored
1
benchmarks/dhrystone/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
dhrystone
|
dhrystone
|
||||||
|
/dhrystone.dis
|
||||||
|
2
hello-world/.gitignore
vendored
Normal file
2
hello-world/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/hello
|
||||||
|
/hello.dis
|
Loading…
Reference in New Issue
Block a user