From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111076 invoked by alias); 26 Feb 2016 15:55:51 -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 111008 invoked by uid 9172); 26 Feb 2016 15:55:50 -0000 Date: Fri, 26 Feb 2016 15:55:00 -0000 Message-ID: <20160226155550.111006.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Joel Sherrill To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib/configure.host: Turn off sti/cli for i386 setjmp for i386-rtems* X-Act-Checkin: newlib-cygwin X-Git-Author: Joel Sherrill X-Git-Refname: refs/heads/master X-Git-Oldrev: b8a88d0b04fbdee0d3437d3ddaaf2bf8f3ceb814 X-Git-Newrev: 678f774727527b0d398052ee4dcbcbcf72327910 X-SW-Source: 2016-q1/txt/msg00048.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=678f774727527b0d398052ee4dcbcbcf72327910 commit 678f774727527b0d398052ee4dcbcbcf72327910 Author: Joel Sherrill Date: Thu Feb 25 11:43:18 2016 -0600 newlib/configure.host: Turn off sti/cli for i386 setjmp for i386-rtems* Diff: --- newlib/configure.host | 2 ++ 1 file changed, 2 insertions(+) diff --git a/newlib/configure.host b/newlib/configure.host index 5fa37d4..f6abb5c 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -592,6 +592,8 @@ case "${host}" in newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC" # turn off unsupported items in posix directory newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN -D_NO_POSIX_SPAWN" + # turn off using cli/sti in i386 setjmp/longjmp + newlib_cflags="${newlib_cflags} -D_I386MACH_ALLOW_HW_INTERRUPTS" ;; # VxWorks supplies its own version of malloc, and the newlib one # doesn't work because VxWorks does not have sbrk.