Add the needed build system changes in order to compile and create the new libraries for Semihosting v2 for ARM.
This uses the new recursive build target in multi-build.in The new spec files are: For AArch32/ARM (m for mixed mode): - rdimon-v2m.specs - aprofile-validation-v2m.specs - aprofile-ve-v2m.specs These spec files will be using the new libraries generated by multi-build.in. Signed-off-by: Tamar Christina <tamar.christina@arm.com>
This commit is contained in:
committed by
Corinna Vinschen
parent
bfa3bbcf33
commit
cc142edbe7
22
libgloss/arm/elf-rdimon-v2m.specs
Normal file
22
libgloss/arm/elf-rdimon-v2m.specs
Normal file
@@ -0,0 +1,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}
|
||||
|
Reference in New Issue
Block a user