git: fix build with with no threads
[buildroot-gz.git] / package / uclibc / 0002-arm-fix-static-linking-issues.patch
blob5480b0dca738a7200d8f7112f62fcfc908223d6c
1 From 94810a91c48ac62daed55b4aec70d04a44c10795 Mon Sep 17 00:00:00 2001
2 From: Waldemar Brodkorb <wbx@openadk.org>
3 Date: Thu, 16 Feb 2017 20:22:21 +0100
4 Subject: [PATCH] arm: fix static linking issues
6 As reported by Buildroot developers these files causing static
7 linking issues. The original contribution with the ARM unwind-resume
8 rework and GNU libc sync was made before the combined libc change.
9 But the patch was applied later, after the libc change and
10 it seems the test coverage for static linking didn't catch it in
11 the regression testing. Remove the files.
13 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
14 ---
15 libpthread/nptl/sysdeps/arm/pt-arm-unwind-resume.c | 2 --
16 libpthread/nptl/sysdeps/arm/rt-arm-unwind-resume.c | 1 -
17 2 files changed, 3 deletions(-)
18 delete mode 100644 libpthread/nptl/sysdeps/arm/pt-arm-unwind-resume.c
19 delete mode 100644 libpthread/nptl/sysdeps/arm/rt-arm-unwind-resume.c
21 diff --git a/libpthread/nptl/sysdeps/arm/pt-arm-unwind-resume.c b/libpthread/nptl/sysdeps/arm/pt-arm-unwind-resume.c
22 deleted file mode 100644
23 index fd0cec4..0000000
24 --- a/libpthread/nptl/sysdeps/arm/pt-arm-unwind-resume.c
25 +++ /dev/null
26 @@ -1,2 +0,0 @@
27 -__asm__ (".set __libgcc_s_init, pthread_cancel_init");
28 -#include <arm-unwind-resume.c>
29 diff --git a/libpthread/nptl/sysdeps/arm/rt-arm-unwind-resume.c b/libpthread/nptl/sysdeps/arm/rt-arm-unwind-resume.c
30 deleted file mode 100644
31 index 2641dc5..0000000
32 --- a/libpthread/nptl/sysdeps/arm/rt-arm-unwind-resume.c
33 +++ /dev/null
34 @@ -1 +0,0 @@
35 -#include <arm-unwind-resume.c>
36 --
37 2.1.4