From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59136 invoked by alias); 21 Jul 2017 08:42:05 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 58091 invoked by uid 9078); 21 Jul 2017 08:42:04 -0000 Date: Fri, 21 Jul 2017 08:42:00 -0000 Message-ID: <20170721084204.58083.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Previous patch to support nosys.specs accidentally broke validation specs because ARM_RDI_MONITOR wa X-Act-Checkin: newlib-cygwin X-Git-Author: Tamar Christina X-Git-Refname: refs/heads/master X-Git-Oldrev: 25138cc2a64e939cd8fb96653319d61845860221 X-Git-Newrev: cd26662dc590235e27e17eec773c5a308e6d863f X-SW-Source: 2017-q3/txt/msg00021.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=cd26662dc590235e27e17eec773c5a308e6d863f commit cd26662dc590235e27e17eec773c5a308e6d863f Author: Tamar Christina Date: Thu Jul 20 13:28:40 2017 +0100 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 Diff: --- libgloss/aarch64/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $<