2017-07-05 20:02:30 +08:00
|
|
|
# rdimon-v2m.specs
|
|
|
|
#
|
|
|
|
# Spec file for AArch64 baremetal newlib with version 2 of the
|
|
|
|
# AngelAPI semi-hosting. This version is intended for AArch64/AArch32
|
|
|
|
# mixed mode executables and as such uses the HLT trap instruction.
|
|
|
|
#
|
|
|
|
# This version supports extensibility through an extension mechanism.
|
|
|
|
|
|
|
|
%rename link_gcc_c_sequence rdimon_link_gcc_c_sequence
|
|
|
|
|
|
|
|
*rdimon_libc:
|
|
|
|
%{!specs=nano.specs:-lc} %{specs=nano.specs:-lc_nano}
|
|
|
|
|
|
|
|
*rdimon_libgloss:
|
2019-06-24 22:40:17 +08:00
|
|
|
%{!specs=nano.specs:-lrdimon-v2m} %{specs=nano.specs:-lrdimon-v2m_nano}
|
2017-07-05 20:02:30 +08:00
|
|
|
|
|
|
|
*link_gcc_c_sequence:
|
|
|
|
%(rdimon_link_gcc_c_sequence) --start-group %G %(rdimon_libc) %(rdimon_libgloss) --end-group
|
|
|
|
|
|
|
|
*startfile:
|
|
|
|
crti%O%s crtbegin%O%s %{!pg:rdimon-crt0-v2m%O%s} %{pg:rdimon-crt0-v2m%O%s}
|
|
|
|
|