PR target/4863
commit5c29d8537a5ae77c24704770493ef63dff11adfb
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Mar 2002 11:27:39 +0000 (18 11:27 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Mar 2002 11:27:39 +0000 (18 11:27 +0000)
tree92c20fec1a0c1d9ecadef60a88c9c6702db31bd1
parentfd957ef3c15055cd633717380745d366640dfb2f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50962 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog