arc: update binutils/gcc to arc-2019.03-release
[openadk.git] / target / linux / patches / 4.14.142 / arm-thumb2.patch
blobd8d1f4984cd9d322e88bb2dafbea77ff369c5186
1 diff -Nur linux-4.14.34.orig/arch/arm/include/asm/assembler.h linux-4.14.34/arch/arm/include/asm/assembler.h
2 --- linux-4.14.34.orig/arch/arm/include/asm/assembler.h 2018-04-12 11:32:27.000000000 +0100
3 +++ linux-4.14.34/arch/arm/include/asm/assembler.h 2018-04-21 17:29:06.424606334 +0100
4 @@ -194,10 +194,9 @@
5 */
6 .irp c,,eq,ne,cs,cc,mi,pl,vs,vc,hi,ls,ge,lt,gt,le,hs,lo
7 .macro badr\c, rd, sym
8 -#ifdef CONFIG_THUMB2_KERNEL
9 - adr\c \rd, \sym + 1
10 -#else
11 adr\c \rd, \sym
12 +#ifdef CONFIG_THUMB2_KERNEL
13 + orr\c \rd, \rd, 1
14 #endif
15 .endm
16 .endr