aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-07-24 15:20:19 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2013-07-24 15:20:19 -0700
commite5dc6737fa71fae7080009704945d1c5e3480d30 (patch)
tree45dd6bdbc3d5db75c42231a52bde1e0d3487beb6 /gcc-4.6
parentd7fefe966940f5735d9becfb8718db793acb0fec (diff)
downloadtoolchain_gcc-e5dc6737fa71fae7080009704945d1c5e3480d30.zip
toolchain_gcc-e5dc6737fa71fae7080009704945d1c5e3480d30.tar.gz
toolchain_gcc-e5dc6737fa71fae7080009704945d1c5e3480d30.tar.bz2
Fix gcc4.6 thumb2 fails to generate 16bit relative jump table
2011-08-12 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> PR target/48328 * config/arm/arm.h (CASE_VECTOR_SHORTEN_MODE): Fix distance for tbh instructions. Change-Id: Ic269b2a12c727059714ef7653bc63eaccfd74f90
Diffstat (limited to 'gcc-4.6')
-rw-r--r--gcc-4.6/gcc/config/arm/arm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.6/gcc/config/arm/arm.h b/gcc-4.6/gcc/config/arm/arm.h
index 6245bb5..9b0a834 100644
--- a/gcc-4.6/gcc/config/arm/arm.h
+++ b/gcc-4.6/gcc/config/arm/arm.h
@@ -1978,7 +1978,7 @@ typedef struct
: min >= -4096 && max < 4096 \
? (ADDR_DIFF_VEC_FLAGS (body).offset_unsigned = 0, HImode) \
: SImode) \
- : ((min < 0 || max >= 0x2000 || !TARGET_THUMB2) ? SImode \
+ : ((min < 0 || max >= 0x20000 || !TARGET_THUMB2) ? SImode \
: (max >= 0x200) ? HImode \
: QImode))