Add support for changing start address in 3dsx linker script

Use LDFLAGS --defsym="__start__=0x14000000" for example to change start address
This commit is contained in:
Yifan Lu 2016-03-26 01:58:59 -05:00
parent ac39e253ff
commit 3fcebd74b2

View File

@ -13,8 +13,8 @@ SECTIONS
{
/* =========== CODE section =========== */
. = 0x100000;
__start__ = . ;
PROVIDE(__start__ = 0x100000);
. = __start__;
.text ALIGN(0x1000) :
{