summaryrefslogtreecommitdiffstats
path: root/libgloss/arm/elf-rdimon-v2m.specs
blob: e4f2545a4d4ef08f11469b15300e4953ab11b9dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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:
%{!specs=nano.specs:-lrdimon-v2m} %{specs=nano.specs:-lrdimon_nano}

*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}