aboutsummaryrefslogtreecommitdiff
path: root/libgloss/arm/elf-aprofile-validation.specs
blob: 4ef0e95102781e0e189a5b2abe04fce839d1fefd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# aprofile-validation.specs
#
# Spec file for AArch32 A profile baremetal newlib, libgloss on
# VALIDATION platform with AngelAPI semi-hosting version 2 using the SVC
# trap instruction.
#
# This Spec file is also appropriate for the foundation model.

%rename link old_link

*link:
--defsym=_rdimon_vector_base=0x00000000 -Ttext-segment=0x00010000 %(old_link)

%rename lib libc

*libgloss:
-lrdimon

*lib:
cpu-init/rdimon-aem.o%s --start-group %(libc) %(libgloss) --end-group

*startfile:
crti%O%s crtbegin%O%s %{!pg:rdimon-crt0%O%s} %{pg:rdimon-crt0%O%s}