d33a0cddcb360f3d9ddf006a4acd836f2504febc
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / uclibc / 0.9.33.2 / 0025-ldso-use-.arm-mode-for-resolver-unconditionally.patch
1 From 753e4e4cd9177f25981e81f82cd9fe8612a95ba6 Mon Sep 17 00:00:00 2001
2 From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
3 Date: Fri, 15 Jun 2012 13:44:35 +0200
4 Subject: [PATCH] ldso: use .arm mode for resolver unconditionally
5
6 as per comment in the file.
7 Fixes runtime with __THUMB_INTERWORK__ enabled.
8
9 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
10 ---
11  ldso/ldso/arm/resolve.S |    2 +-
12  1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/ldso/ldso/arm/resolve.S b/ldso/ldso/arm/resolve.S
15 index 08889d0..b0907f7 100644
16 --- a/ldso/ldso/arm/resolve.S
17 +++ b/ldso/ldso/arm/resolve.S
18 @@ -101,7 +101,7 @@
19  
20   .text
21   .align 4      @ 16 byte boundary and there are 32 bytes below (arm case)
22 - #if !defined(__thumb__) || defined(__thumb2__)
23 +#if 1 /*(!defined(__thumb__) || defined __THUMB_INTERWORK__) || defined(__thumb2__)*/
24   .arm
25   .globl _dl_linux_resolve
26   .type _dl_linux_resolve,%function
27 -- 
28 1.7.10.4
29