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
23
libgloss/arm/elf-aprofile-validation-v2m.specs
Normal file
23
libgloss/arm/elf-aprofile-validation-v2m.specs
Normal file
@ -0,0 +1,23 @@
|
||||
# aprofile-validation-v2m.specs
|
||||
#
|
||||
# Spec file for AArch32 A profile baremetal newlib, libgloss on
|
||||
# VALIDATION platform with AngelAPI semi-hosting version 2 using the HLT
|
||||
# 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-v2m
|
||||
|
||||
*lib:
|
||||
cpu-init/rdimon-aem.o%s --start-group %(libc) %(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