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