summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2023-03-07 11:00:24 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2023-03-07 11:04:47 +0000
commit9fa4df00ce3175e41b5d9d0a81d9a6dbf91cd2e8 (patch)
tree147627fb16d5f1dcd3eb682e906cac10edaff9c3
parentcdcd0c5309a9d89a5aea3f7fb82a2d1995d875d9 (diff)
downloadtoolchains-9fa4df00ce3175e41b5d9d0a81d9a6dbf91cd2e8.tar.gz
toolchains-9fa4df00ce3175e41b5d9d0a81d9a6dbf91cd2e8.tar.bz2
arm-riscos-gnueabi/unixlib: poke function names; emit unwind tables
-rw-r--r--arm-riscos-gnueabi/recipes/patches/gccsdk/unixlib-unwind.p13
1 files changed, 13 insertions, 0 deletions
diff --git a/arm-riscos-gnueabi/recipes/patches/gccsdk/unixlib-unwind.p b/arm-riscos-gnueabi/recipes/patches/gccsdk/unixlib-unwind.p
index 07290e6..ecc4f99 100644
--- a/arm-riscos-gnueabi/recipes/patches/gccsdk/unixlib-unwind.p
+++ b/arm-riscos-gnueabi/recipes/patches/gccsdk/unixlib-unwind.p
@@ -1,3 +1,16 @@
+Index: libunixlib/Makefile.am
+===================================================================
+--- libunixlib/Makefile.am (revision 7698)
++++ libunixlib/Makefile.am (working copy)
+@@ -33,7 +33,7 @@
+ # arguments can not be tested for NULL in UnixLib itself.
+ if ARM_EABI
+ AM_CFLAGS = -D__GNU_LIBRARY__ -DNO_LONG_DOUBLE -D_GNU_SOURCE=1 \
+- -D__UNIXLIB_NO_NONNULL -std=c99 $(LIBM_FLAGS)
++ -D__UNIXLIB_NO_NONNULL -std=c99 -mpoke-function-name -funwind-tables $(LIBM_FLAGS)
+ UNIXLIB_CHUNKED_STACK=0
+ else
+ AM_CFLAGS = -D__GNU_LIBRARY__ -DNO_LONG_DOUBLE -D_GNU_SOURCE=1 \
Index: libunixlib/signal/post.c
===================================================================
--- libunixlib/signal/post.c (revision 7698)