Fix libgcc_s_resume issue with gcc 5.1
commitafad51b5f4b0093937304ca99fb8b679ab47eb56
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 17 Jun 2015 20:52:22 +0000 (17 22:52 +0200)
committerWaldemar Brodkorb <wbx@openadk.org>
Thu, 18 Jun 2015 05:37:40 +0000 (18 07:37 +0200)
tree9aa59fe72d2cedad89d18aabd001c54cc6348049
parent0bfe2a56912f4d90ee39f322f0bde92a01d6ec6e
Fix libgcc_s_resume issue with gcc 5.1

When built with gcc 5.1, uClibc-ng fails to build with the following
issue:

   librt/librt_so.a(rt-unwind-resume.oS): In function `_Unwind_Resume':
   rt-unwind-resume.c:(.text+0x3c): undefined reference to

This commit fixes the code in a way similar to what was done in glibc
in commit:

   https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=175cef4163dd60f95106cfd5f593b8a4e09d02c9

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c