2017-07-05 14:02:30 +02:00
|
|
|
# rdimon.specs
|
|
|
|
#
|
|
|
|
# Spec file for AArch64 baremetal newlib with version 2 of the
|
|
|
|
# AngelAPI semi-hosting using the SVC trap instruction.
|
|
|
|
#
|
|
|
|
# This version supports extensibility through an extension mechanism.
|
|
|
|
|
2014-08-14 17:00:33 +02:00
|
|
|
%rename link_gcc_c_sequence rdimon_link_gcc_c_sequence
|
2004-06-09 Toralf Lund <toralf@procaptura.com>
* arm/crt0.S: Copied from newlib and it now also sets up stacks for
FIQ and IRQ mode, plus calls hardware_init_hook() and
software_init_hook() if present.
* arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied
from newlib.
* arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o,
librdpmon.a, librdimon.a - support file for "bare" setup, as well
as "RDP" and "RDI" monitors.
* arm/coff-rdpmon.specs, arm/elf-rdpmon.specs,
arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go
with above mentioned support libs and startfiles.
2004-06-09 21:06:50 +02:00
|
|
|
|
2014-08-14 17:00:33 +02:00
|
|
|
*rdimon_libc:
|
|
|
|
%{!specs=nano.specs:-lc} %{specs=nano.specs:-lc_nano}
|
2013-02-10 12:57:51 +01:00
|
|
|
|
2014-08-14 17:00:33 +02:00
|
|
|
*rdimon_libgloss:
|
|
|
|
%{!specs=nano.specs:-lrdimon} %{specs=nano.specs:-lrdimon_nano}
|
|
|
|
|
|
|
|
*link_gcc_c_sequence:
|
|
|
|
%(rdimon_link_gcc_c_sequence) --start-group %G %(rdimon_libc) %(rdimon_libgloss) --end-group
|
2004-06-09 Toralf Lund <toralf@procaptura.com>
* arm/crt0.S: Copied from newlib and it now also sets up stacks for
FIQ and IRQ mode, plus calls hardware_init_hook() and
software_init_hook() if present.
* arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied
from newlib.
* arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o,
librdpmon.a, librdimon.a - support file for "bare" setup, as well
as "RDP" and "RDI" monitors.
* arm/coff-rdpmon.specs, arm/elf-rdpmon.specs,
arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go
with above mentioned support libs and startfiles.
2004-06-09 21:06:50 +02:00
|
|
|
|
|
|
|
*startfile:
|
|
|
|
crti%O%s crtbegin%O%s %{!pg:rdimon-crt0%O%s} %{pg:rdimon-crt0%O%s}
|
|
|
|
|