aboutsummaryrefslogtreecommitdiff
path: root/libgloss
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2017-07-20 13:28:40 +0100
committerCorinna Vinschen <corinna@vinschen.de>2017-07-21 10:41:37 +0200
commitcd26662dc590235e27e17eec773c5a308e6d863f (patch)
tree293e7b474a534f5daaa28af78b6f30af85b4f504 /libgloss
parent25138cc2a64e939cd8fb96653319d61845860221 (diff)
downloadnewlib-cd26662dc590235e27e17eec773c5a308e6d863f.zip
newlib-cd26662dc590235e27e17eec773c5a308e6d863f.tar.gz
newlib-cd26662dc590235e27e17eec773c5a308e6d863f.tar.bz2
Previous patch to support nosys.specs accidentally broke validation specs because ARM_RDI_MONITOR was never passed to the build rule for crt0.
This fixed the compile for nosys and validation specs but nosys won't run because of existing limitations to aarch64's syscalls.c, it requires semihosting to get commandline arguments and heap info without having a fallback method as ARM does. Signed-off-by: Tamar Christina <tamar.christina@arm.com>
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/aarch64/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/aarch64/Makefile.in b/libgloss/aarch64/Makefile.in
index 546557e..8111f26 100644
--- a/libgloss/aarch64/Makefile.in
+++ b/libgloss/aarch64/Makefile.in
@@ -118,7 +118,7 @@ test:
#
crt0.o: crt0.S
- $(CC) $(CFLAGS_FOR_TARGET) $($(MULTI_FLAGS_FOR_TARGET)) $(CFLAGS) $(INCLUDES) -o $@ -c $<
+ $(CC) $(CFLAGS_FOR_TARGET) $($(MULTI_FLAGS_FOR_TARGET)) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
rdimon-crt0${${MULTILIBNAME}}.o: crt0.S
$(CC) $(CFLAGS_FOR_TARGET) $($(MULTI_FLAGS_FOR_TARGET)) $(CFLAGS) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<