diff options
author | Nick Clifton <nickc@redhat.com> | 2007-02-25 07:47:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2007-02-25 07:47:49 +0000 |
commit | e133c867eab2280566ae0b3ced07ca0175fd72ca (patch) | |
tree | a480daee39b0b3a0c53b80adb8463a5ee4836626 /gcc | |
parent | 7aa96f9c1bd352f16c01c24727b99ad6d53a6926 (diff) | |
download | gcc-e133c867eab2280566ae0b3ced07ca0175fd72ca.zip gcc-e133c867eab2280566ae0b3ced07ca0175fd72ca.tar.gz gcc-e133c867eab2280566ae0b3ced07ca0175fd72ca.tar.bz2 |
frv.h (ASM_OUTPUT_CASE_LABEL): Delete.
* config/frv/frv.h (ASM_OUTPUT_CASE_LABEL): Delete.
(JUMP_TABLES_IN_TEXT_SECTION): Define.
From-SVN: r122311
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/frv/frv.h | 28 |
2 files changed, 6 insertions, 27 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 10a65c0..031c067 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-02-25 Nick Clifton <nickc@redhat.com> + + * config/frv/frv.h (ASM_OUTPUT_CASE_LABEL): Delete. + (JUMP_TABLES_IN_TEXT_SECTION): Define. + 2007-02-24 Uros Bizjak <ubizjak@gmail.com> PR target/30770 diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index ab8704f..67b6206 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -2595,33 +2595,7 @@ fprintf (STREAM, "\t.word .L%d-.L%d\n", VALUE, REL) #define ASM_OUTPUT_ADDR_VEC_ELT(STREAM, VALUE) \ fprintf (STREAM, "\t.word .L%d\n", VALUE) -/* Define this if the label before a jump-table needs to be output specially. - The first three arguments are the same as for `(*targetm.asm_out.internal_label)'; - the fourth argument is the jump-table which follows (a `jump_insn' - containing an `addr_vec' or `addr_diff_vec'). - - This feature is used on system V to output a `swbeg' statement for the - table. - - If this macro is not defined, these labels are output with - `(*targetm.asm_out.internal_label)'. - - Defined in svr4.h. */ -/* When generating embedded PIC or mips16 code we want to put the jump - table in the .text section. In all other cases, we want to put the - jump table in the .rdata section. Unfortunately, we can't use - JUMP_TABLES_IN_TEXT_SECTION, because it is not conditional. - Instead, we use ASM_OUTPUT_CASE_LABEL to switch back to the .text - section if appropriate. */ - -#undef ASM_OUTPUT_CASE_LABEL -#define ASM_OUTPUT_CASE_LABEL(STREAM, PREFIX, NUM, TABLE) \ -do { \ - if (flag_pic) \ - switch_to_section (function_section (current_function_decl)); \ - (*targetm.asm_out.internal_label) (STREAM, PREFIX, NUM); \ -} while (0) - +#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic) /* Assembler Commands for Exception Regions. */ |