forked from Imagelibrary/rtems
@@ -1,15 +1,9 @@
|
|||||||
%rename startfile old_startfile
|
%rename startfile old_startfile
|
||||||
%rename link old_link
|
|
||||||
%rename endfile old_endfile
|
%rename endfile old_endfile
|
||||||
|
|
||||||
|
|
||||||
*startfile:
|
*startfile:
|
||||||
%{!qrtems: %(old_startfile)} \
|
%{!qrtems: %(old_startfile)} \
|
||||||
%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s }}
|
%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s}}
|
||||||
|
|
||||||
*link:
|
|
||||||
%{!qrtems: %(old_link)} \
|
|
||||||
%{qrtems: -dc -dp -Bstatic -u __vectors -u download_entry -N }
|
|
||||||
|
|
||||||
*endfile:
|
*endfile:
|
||||||
%{!qrtems: %(old_endfile)} \
|
%{!qrtems: %(old_endfile)} \
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc")
|
|||||||
OUTPUT_ARCH(powerpc)
|
OUTPUT_ARCH(powerpc)
|
||||||
|
|
||||||
ENTRY(download_entry)
|
ENTRY(download_entry)
|
||||||
|
EXTERN(download_entry)
|
||||||
|
EXTERN(__vectors)
|
||||||
|
|
||||||
MsgAreaSize = DEFINED(MsgAreaSize) ? MsgAreaSize : 1M;
|
MsgAreaSize = DEFINED(MsgAreaSize) ? MsgAreaSize : 1M;
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
|
|||||||
Reference in New Issue
Block a user