From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13479 invoked by alias); 31 Jan 2018 10:16:47 -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 13421 invoked by uid 10080); 31 Jan 2018 10:16:47 -0000 Date: Wed, 31 Jan 2018 10:16:00 -0000 Message-ID: <20180131101647.13418.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] epiphany: Additional setjmp() and longjmp() syms X-Act-Checkin: newlib-cygwin X-Git-Author: Sebastian Huber X-Git-Refname: refs/heads/master X-Git-Oldrev: b920561fe3ec2128e783096e0c30fecb7ccb075d X-Git-Newrev: 1658a57715de93d50983f34e75216101eb373993 X-SW-Source: 2018-q1/txt/msg00030.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1658a57715de93d50983f34e75216101eb373993 commit 1658a57715de93d50983f34e75216101eb373993 Author: Sebastian Huber Date: Wed Jan 31 08:14:44 2018 +0100 epiphany: Additional setjmp() and longjmp() syms At least with Binutils 2.30 and GCC 7.3 we need symbol definitions without the leading underscore. Signed-off-by: Sebastian Huber Diff: --- newlib/libc/machine/epiphany/setjmp.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/newlib/libc/machine/epiphany/setjmp.S b/newlib/libc/machine/epiphany/setjmp.S index 2986bb4..b981ee5 100644 --- a/newlib/libc/machine/epiphany/setjmp.S +++ b/newlib/libc/machine/epiphany/setjmp.S @@ -45,6 +45,8 @@ _setjmp: mov r0,#0 rts .size _setjmp, .-_setjmp + .global setjmp + .set setjmp, _setjmp .global _longjmp _longjmp: @@ -63,3 +65,5 @@ _longjmp: movne r0,r1 jr lr .size _longjmp, .-_longjmp + .global longjmp + .set longjmp, _longjmp