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