public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] epiphany: Additional setjmp() and longjmp() syms
@ 2018-01-31 10:16 Sebastian Huber
  0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2018-01-31 10:16 UTC (permalink / raw)
  To: newlib-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-31 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-31 10:16 [newlib-cygwin] epiphany: Additional setjmp() and longjmp() syms Sebastian Huber

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).