diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-07-24 15:20:19 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2013-07-24 15:20:19 -0700 |
commit | e5dc6737fa71fae7080009704945d1c5e3480d30 (patch) | |
tree | 45dd6bdbc3d5db75c42231a52bde1e0d3487beb6 /gcc-4.6 | |
parent | d7fefe966940f5735d9becfb8718db793acb0fec (diff) | |
download | toolchain_gcc-e5dc6737fa71fae7080009704945d1c5e3480d30.tar.gz toolchain_gcc-e5dc6737fa71fae7080009704945d1c5e3480d30.tar.bz2 toolchain_gcc-e5dc6737fa71fae7080009704945d1c5e3480d30.zip |
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.h | 2 |
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 6245bb5bd..9b0a83475 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)) |