[ARM] Add SPECS file for ARM validation model.

This commit is contained in:
Marcus Shawcroft 2013-09-27 15:40:39 +00:00
parent ade2acf274
commit 1dafbdd853
3 changed files with 28 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-09-27 Marcus Shawcroft <marcus.shawcroft@arm.com>
* arm/Makefile.in (RDIMON_SCRIPTS): Add aprofile-validation.specs.
* arm/elf-aprofile-validation.specs: New.
2013-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Greta Yorsh <greta.yorsh@arm.com>

View File

@ -75,7 +75,7 @@ RDPMON_INSTALL = install-rdpmon
RDIMON_CRT0 = rdimon-crt0.o
RDIMON_BSP = librdimon.a
RDIMON_OBJS = $(patsubst %,rdimon-%,$(RDPMON_OBJS))
RDIMON_SCRIPTS = rdimon.specs aprofile-ve.specs
RDIMON_SCRIPTS = rdimon.specs aprofile-validation.specs aprofile-ve.specs
RDIMON_INSTALL = install-rdimon
CFLAGS = -g

View File

@ -0,0 +1,22 @@
# aem-validation.specs
#
# Spec file for AArch32 A profile baremetal newlib, libgloss on
# VALIDATION platform with AngelAPI semi-hosting.
#
# This Spec file is also appropriate for the foundation model.
%rename link old_link
*link:
--defsym=_rdimon_vector_base=0x00000000 -Ttext-segment=0x00008000 %(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}