forked from Imagelibrary/rtems
@@ -1,13 +1,10 @@
|
||||
%rename endfile old_endfile
|
||||
%rename startfile old_startfile
|
||||
%rename link old_link
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
%{!nostdlib: %{qrtems: crti.o%s crtbegin.o%s}}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@ __SRAMBASE = DEFINED(__SRAMBASE) ? __SRAMBASE : 0x20000000 ;
|
||||
_VBR = 0x0;
|
||||
|
||||
ENTRY(start)
|
||||
STARTUP(start.o)
|
||||
|
||||
MEMORY
|
||||
{
|
||||
dram : ORIGIN = 0, LENGTH = 16M
|
||||
|
||||
@@ -38,6 +38,8 @@ __SRAMBASE = DEFINED(__SRAMBASE) ? __SRAMBASE : 0x20000000 ;
|
||||
_VBR = 0x0;
|
||||
|
||||
ENTRY(start)
|
||||
STARTUP(start.o)
|
||||
|
||||
/*
|
||||
* NOTE: If loading to flash with dBUG remember to change the origin to 0xFFF00000 because that's where user flash is
|
||||
* located.
|
||||
|
||||
@@ -38,6 +38,8 @@ __SRAMBASE = DEFINED(__SRAMBASE) ? __SRAMBASE : 0x20000000 ;
|
||||
_VBR = 0x0;
|
||||
|
||||
ENTRY(start)
|
||||
STARTUP(start.o)
|
||||
|
||||
MEMORY
|
||||
{
|
||||
ram : ORIGIN = 0, LENGTH = 16M
|
||||
|
||||
Reference in New Issue
Block a user