forked from Imagelibrary/rtems
@@ -1,13 +1,5 @@
|
||||
%rename endfile old_endfile
|
||||
%rename startfile old_startfile
|
||||
%rename link old_link
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%{!qrtems: %(old_link)} %{qrtems: %(old_link)}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: %(old_endfile)} %{qrtems: %(old_link)}
|
||||
%{!nostdlib: %{qrtems: }}
|
||||
|
||||
@@ -9,6 +9,7 @@ _StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
/* Default linker script, for normal executables */
|
||||
OUTPUT_FORMAT("elf32-v850-rh850", "elf32-v850-rh850",
|
||||
"elf32-v850-rh850")
|
||||
STARTUP(start.o)
|
||||
OUTPUT_ARCH(v850-rh850)
|
||||
ENTRY(_start)
|
||||
/* GROUP(-lc -lsim -lgcc) */
|
||||
|
||||
Reference in New Issue
Block a user