chiark / gitweb /
clang: Depend on ndk-stl and remove triplet mess
[termux-packages] / packages / gcc / gcc-config-arm-arm.h.patch
1 From https://github.com/crystax/android-toolchain-gcc-6/blob/master/gcc/config/arm/arm.h
2
3 diff -u -r ../gcc-6.1.0/gcc/config/arm/arm.h ./gcc/config/arm/arm.h
4 --- ../gcc-6.1.0/gcc/config/arm/arm.h   2016-04-01 10:58:53.000000000 -0400
5 +++ ./gcc/config/arm/arm.h      2016-04-29 04:39:20.736198856 -0400
6 @@ -1891,7 +1891,7 @@
7                                      && (optimize_size || flag_pic)))
8  
9  #define CASE_VECTOR_SHORTEN_MODE(min, max, body)                       \
10 -  (TARGET_THUMB1                                                       \
11 +  (TARGET_THUMB1 && !inline_thumb1_jump_table                          \
12     ? (min >= 0 && max < 512                                            \
13        ? (ADDR_DIFF_VEC_FLAGS (body).offset_unsigned = 1, QImode)       \
14        : min >= -256 && max < 256                                       \