forked from Imagelibrary/rtems
@@ -4,8 +4,7 @@
|
|||||||
|
|
||||||
*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}}
|
||||||
start.o%s -e _start -u __vectors}}
|
|
||||||
|
|
||||||
*endfile:
|
*endfile:
|
||||||
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
|
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
|
||||||
|
|||||||
@@ -2,6 +2,9 @@ OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
|
|||||||
"elf32-powerpc")
|
"elf32-powerpc")
|
||||||
OUTPUT_ARCH(powerpc:common)
|
OUTPUT_ARCH(powerpc:common)
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
STARTUP(start.o)
|
||||||
|
EXTERN(__vectors)
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
RAM : ORIGIN = 0, LENGTH = 4M
|
RAM : ORIGIN = 0, LENGTH = 4M
|
||||||
|
|||||||
Reference in New Issue
Block a user