Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2013-09-27 19:40:39 +0400
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2013-09-27 19:40:39 +0400
commit1dafbdd853fda8a51083c5c3b4c8f6013ea69c65 (patch)
treec96325c31bb492c81fe975bf5fbe41c06808f297 /libgloss/arm
parentade2acf274f0d1c3fa1694f37bb374184fd72a95 (diff)
[ARM] Add SPECS file for ARM validation model.
Diffstat (limited to 'libgloss/arm')
-rw-r--r--libgloss/arm/Makefile.in2
-rw-r--r--libgloss/arm/elf-aprofile-validation.specs22
2 files changed, 23 insertions, 1 deletions
diff --git a/libgloss/arm/Makefile.in b/libgloss/arm/Makefile.in
index 998ace502..8806277e4 100644
--- a/libgloss/arm/Makefile.in
+++ b/libgloss/arm/Makefile.in
@@ -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
diff --git a/libgloss/arm/elf-aprofile-validation.specs b/libgloss/arm/elf-aprofile-validation.specs
new file mode 100644
index 000000000..ba0eafc47
--- /dev/null
+++ b/libgloss/arm/elf-aprofile-validation.specs
@@ -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}