diff options
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-0.9.33/ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-0.9.33/ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.33/ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch b/meta/recipes-core/uclibc/uclibc-0.9.33/ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch new file mode 100644 index 0000000000..d44accadbb --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-0.9.33/ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | resolver code should always be in arm mode | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Index: uClibc/ldso/ldso/arm/resolve.S | ||
8 | =================================================================== | ||
9 | --- uClibc.orig/ldso/ldso/arm/resolve.S 2009-03-20 12:03:32.000000000 -0700 | ||
10 | +++ uClibc/ldso/ldso/arm/resolve.S 2009-03-20 12:04:23.000000000 -0700 | ||
11 | @@ -97,7 +97,6 @@ | ||
12 | |||
13 | .text | ||
14 | .align 4 @ 16 byte boundary and there are 32 bytes below (arm case) | ||
15 | - #if !defined(__thumb__) || defined(__thumb2__) | ||
16 | .arm | ||
17 | .globl _dl_linux_resolve | ||
18 | .type _dl_linux_resolve,%function | ||
19 | @@ -129,7 +128,7 @@ | ||
20 | #else | ||
21 | mov pc,ip | ||
22 | #endif | ||
23 | -#else | ||
24 | +#if 0 | ||
25 | @ In the thumb case _dl_linux_resolver is thumb. If a bl is used | ||
26 | @ from arm code the linker will insert a stub call which, with | ||
27 | @ binutils 2.16, is not PIC. Since this code is accessed by an | ||