diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-01-31 08:14:44 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-01-31 08:17:19 +0100 |
commit | 1658a57715de93d50983f34e75216101eb373993 (patch) | |
tree | 72a8419d6f1016c5a328422c6562e3f3e6179f78 /newlib/libc | |
parent | b920561fe3ec2128e783096e0c30fecb7ccb075d (diff) | |
download | newlib-1658a57715de93d50983f34e75216101eb373993.zip newlib-1658a57715de93d50983f34e75216101eb373993.tar.gz newlib-1658a57715de93d50983f34e75216101eb373993.tar.bz2 |
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>
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/machine/epiphany/setjmp.S | 4 |
1 files changed, 4 insertions, 0 deletions
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 |