aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@gcc.gnu.org>2002-03-18 11:27:39 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2002-03-18 11:27:39 +0000
commit91f3a802eba622155b5fa8eb02255dd92598ac1a (patch)
tree92c20fec1a0c1d9ecadef60a88c9c6702db31bd1 /gcc/expr.c
parent657d9449e89fc00908ae18fb063fe54ff8bdcaee (diff)
downloadgcc-91f3a802eba622155b5fa8eb02255dd92598ac1a.zip
gcc-91f3a802eba622155b5fa8eb02255dd92598ac1a.tar.gz
gcc-91f3a802eba622155b5fa8eb02255dd92598ac1a.tar.bz2
re PR target/4863 (arm/thumb: code for switch statements: branch out of range)
PR target/4863 * arm.md (tablejump): Make this a define_expand. For PIC add the offset to the base of the table. (thumb_tablejump): Matcher for Thumb tablejump insn. * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries as the difference of two labels. * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump tables in the code. * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise. * arm.c (get_jump_table_size): If the table is not in the text section, return zero. From-SVN: r50962
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions