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: ecrti%O%s rtems_crti%O%s crtbegin.o%s start.o%s -e start -u __vectors}}
|
||||
%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s}}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
|
||||
@@ -8,6 +8,8 @@ OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
|
||||
OUTPUT_ARCH(powerpc)
|
||||
|
||||
ENTRY(start)
|
||||
STARTUP(start.o)
|
||||
EXTERN(__vectors)
|
||||
|
||||
/*
|
||||
* Declare some sizes.
|
||||
|
||||
Reference in New Issue
Block a user