forked from Imagelibrary/rtems
@@ -1,13 +1,9 @@
|
|||||||
%rename endfile old_endfile
|
%rename endfile old_endfile
|
||||||
%rename startfile old_startfile
|
%rename startfile old_startfile
|
||||||
%rename link old_link
|
|
||||||
|
|
||||||
*startfile:
|
*startfile:
|
||||||
%{!qrtems: %(old_startfile)} \
|
%{!qrtems: %(old_startfile)} \
|
||||||
%{!nostdlib: %{qrtems: start.o%s -e _start crtbegin.o%s}}
|
%{!nostdlib: %{qrtems: crtbegin.o%s}}
|
||||||
|
|
||||||
*link:
|
|
||||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
|
||||||
|
|
||||||
*endfile:
|
*endfile:
|
||||||
%{!qrtems: %(old_endfile)} %{!nostdlib: %{qrtems: crtend.o%s}}
|
%{!qrtems: %(old_endfile)} %{!nostdlib: %{qrtems: crtend.o%s}}
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
OUTPUT_FORMAT("elf32-bigmoxie")
|
OUTPUT_FORMAT("elf32-bigmoxie")
|
||||||
OUTPUT_ARCH(moxie)
|
OUTPUT_ARCH(moxie)
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
STARTUP(start.o)
|
||||||
|
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x00000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x00000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
||||||
|
|||||||
Reference in New Issue
Block a user