diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-08-07 00:47:55 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-08-07 00:47:57 +0000 |
commit | 34cef20a1108ff399ecbe13f42e1f6bc8c909b27 (patch) | |
tree | 0a251cfb7f7baa14673173048c8ff682c4bbed5d /gcc-4.6/gcc/config/arm/arm.h | |
parent | 32fce3edda831e36ee484406c39dffbe0230f257 (diff) | |
parent | a3529b2d6b2bcc7136fd67e00e539301942e74d1 (diff) | |
download | toolchain_gcc-34cef20a1108ff399ecbe13f42e1f6bc8c909b27.tar.gz toolchain_gcc-34cef20a1108ff399ecbe13f42e1f6bc8c909b27.tar.bz2 toolchain_gcc-34cef20a1108ff399ecbe13f42e1f6bc8c909b27.zip |
Merge "Add an internal switch -minline-thumb1-jumptable to ARM gcc4.6/4.7/4.8"
Diffstat (limited to 'gcc-4.6/gcc/config/arm/arm.h')
-rw-r--r-- | gcc-4.6/gcc/config/arm/arm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc-4.6/gcc/config/arm/arm.h b/gcc-4.6/gcc/config/arm/arm.h index 9b0a83475..b41f3a73d 100644 --- a/gcc-4.6/gcc/config/arm/arm.h +++ b/gcc-4.6/gcc/config/arm/arm.h @@ -1965,10 +1965,11 @@ typedef struct #define CASE_VECTOR_PC_RELATIVE (TARGET_THUMB2 \ || (TARGET_THUMB1 \ + && !inline_thumb1_jump_table \ && (optimize_size || flag_pic))) #define CASE_VECTOR_SHORTEN_MODE(min, max, body) \ - (TARGET_THUMB1 \ + (TARGET_THUMB1 && !inline_thumb1_jump_table \ ? (min >= 0 && max < 512 \ ? (ADDR_DIFF_VEC_FLAGS (body).offset_unsigned = 1, QImode) \ : min >= -256 && max < 256 \ |