]> gcc.gnu.org Git - gcc.git/commit - gcc/config/arm/arm.c
arm.md (tablejump): Make this a define_expand.
authorRichard Earnshaw <rearnsha@arm.com>
Mon, 18 Mar 2002 11:26:24 +0000 (11:26 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Mon, 18 Mar 2002 11:26:24 +0000 (11:26 +0000)
commit657d9449e89fc00908ae18fb063fe54ff8bdcaee
tree26d7156b5d3be51ac40b7883e864783742cf5808
parentffd696af84c29fe41b43e74fb6e4ada9076102d6
arm.md (tablejump): Make this a define_expand.

* 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: r50960
gcc/ChangeLog
gcc/config/arm/aof.h
gcc/config/arm/aout.h
gcc/config/arm/arm.c
gcc/config/arm/arm.md
gcc/config/arm/coff.h
gcc/config/arm/elf.h
This page took 0.060676 seconds and 5 git commands to generate.