public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Sebastian Huber <sh@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] epiphany: Additional setjmp() and longjmp() syms Date: Wed, 31 Jan 2018 10:16:00 -0000 [thread overview] Message-ID: <20180131101647.13418.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1658a57715de93d50983f34e75216101eb373993 commit 1658a57715de93d50983f34e75216101eb373993 Author: Sebastian Huber <sebastian.huber@embedded-brains.de> 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 <sebastian.huber@embedded-brains.de> 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
reply other threads:[~2018-01-31 10:16 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180131101647.13418.qmail@sourceware.org \ --to=sh@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).