diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 300dfac82a04cd8cb4d0d357148e1dec85e81a58..c6675c981d5864b02a969cf3397f8c613843ad0d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2004-02-19 Kazu Hirata <kazu@cs.umass.edu> + + * config/arc/arc.h, config/arm/arm.h, config/frv/frv.h, + config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, + config/iq2000/iq2000.h, config/m32r/m32r.h, + config/pdp11/pdp11.h, config/sparc/sparc.h, + config/xtensa/xtensa.h: Remove commented-out or useless + definitions of CASE_VECTOR_PC_RELATIVE. + 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> * loop.c (all_sets_invariant_p): Remove. diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index cdd9ba292073543ded4a4c9b0670bc634a314744..48044403c9c76adc7ea42814da23608232ecfc13 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -1186,15 +1186,6 @@ do { if ((LOG) != 0) fprintf (FILE, "\t.align %d\n", 1 << (LOG)); } while (0) for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE Pmode -/* Define as C expression which evaluates to nonzero if the tablejump - instruction expects the table to contain offsets from the address of the - table. - Do not define this if the table should contain absolute addresses. */ -/* It's not clear what PIC will look like or whether we want to use -fpic - for the embedded form currently being talked about. For now require -fpic - to get pc relative switch tables. */ -/*#define CASE_VECTOR_PC_RELATIVE 1 */ - /* Define if operations between registers always perform the operation on the full register even if a narrower mode is specified. */ #define WORD_REGISTER_OPERATIONS diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 3f082eabef0c8e57e360507959c104ca7b2773a4..320bee052992ebeccba4eac92eeee1bba3b4cf01 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -2399,12 +2399,6 @@ do { \ for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE Pmode -/* Define as C expression which evaluates to nonzero if the tablejump - instruction expects the table to contain offsets from the address of the - table. - Do not define this if the table should contain absolute addresses. */ -/* #define CASE_VECTOR_PC_RELATIVE 1 */ - /* signed 'char' is most compatible, but RISC OS wants it unsigned. unsigned is probably best, but may break some code. */ #ifndef DEFAULT_SIGNED_CHAR diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index 828e8a326d1c30282bb7a0bff18a1652aef0ea76..021740c4782d88306f395e6316329642387a96e4 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -2878,11 +2878,6 @@ do { \ (*targetm.asm_out.internal_label) (STREAM, PREFIX, NUM); \ } while (0) -/* Define this to determine whether case statement labels are relative to - the start of the case statement or not. */ - -#define CASE_VECTOR_PC_RELATIVE (flag_pic) - /* Assembler Commands for Exception Regions. */ diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 6b2d1aa264aa575a263f8c55bf0e1c82c9e60ba8..aad99ec2c453af39bbc75404e67153e7268347ba 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -916,12 +916,6 @@ struct cum_arg for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE Pmode -/* Define as C expression which evaluates to nonzero if the tablejump - instruction expects the table to contain offsets from the address of the - table. - Do not define this if the table should contain absolute addresses. */ -/*#define CASE_VECTOR_PC_RELATIVE 1 */ - /* Define this as 1 if `char' should by default be signed; else as 0. On the H8/300, sign extension is expensive, so we'll say that chars diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index cacce6443cfc03a804c22eaaae9653189516d04c..5cbddb139783eb0e9778dd487e829b3fdf183b49 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -2516,12 +2516,6 @@ enum ix86_builtins for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE (!TARGET_64BIT || flag_pic ? SImode : DImode) -/* Define as C expression which evaluates to nonzero if the tablejump - instruction expects the table to contain offsets from the address of the - table. - Do not define this if the table should contain absolute addresses. */ -/* #define CASE_VECTOR_PC_RELATIVE 1 */ - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/i860/i860.h b/gcc/config/i860/i860.h index 354df72901044c8af46c5ae82a34349826332cd2..1b29a08adbe80feda7a1fab852d34ab703743857 100644 --- a/gcc/config/i860/i860.h +++ b/gcc/config/i860/i860.h @@ -821,12 +821,6 @@ struct cumulative_args { int ints, floats; }; for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE SImode -/* Define as C expression which evaluates to nonzero if the tablejump - instruction expects the table to contain offsets from the address of the - table. - Do not define this if the table should contain absolute addresses. */ -/* #define CASE_VECTOR_PC_RELATIVE 1 */ - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/iq2000/iq2000.h b/gcc/config/iq2000/iq2000.h index add330402918b044acb31c5e68542b58d09f87dc..2574dbc8ebb90db17307baaf769f6263f660a013 100644 --- a/gcc/config/iq2000/iq2000.h +++ b/gcc/config/iq2000/iq2000.h @@ -866,8 +866,6 @@ while (0) #define CASE_VECTOR_MODE SImode -#define CASE_VECTOR_PC_RELATIVE 0 - #define WORD_REGISTER_OPERATIONS #define LOAD_EXTEND_OP(MODE) ZERO_EXTEND diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h index 00bdad63e98d00aa80023d2cd8a54665c70ca55a..5b716113579e63d6323374b7f2e4500b6e3a5326 100644 --- a/gcc/config/m32r/m32r.h +++ b/gcc/config/m32r/m32r.h @@ -1725,15 +1725,6 @@ extern char m32r_punct_chars[256]; for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE (flag_pic ? SImode : Pmode) -/* Define as C expression which evaluates to nonzero if the tablejump - instruction expects the table to contain offsets from the address of the - table. - Do not define this if the table should contain absolute addresses. */ -/* It's not clear what PIC will look like or whether we want to use -fpic - for the embedded form currently being talked about. For now require -fpic - to get pc relative switch tables. */ -/*#define CASE_VECTOR_PC_RELATIVE 1 */ - /* Define if operations between registers always perform the operation on the full register even if a narrower mode is specified. */ #define WORD_REGISTER_OPERATIONS diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h index 725fe25e0a06e99617a81b2ec01b5ae61f6cec27..60198431cf1f2d6d2b3efd86493f1e1c223accaa 100644 --- a/gcc/config/pdp11/pdp11.h +++ b/gcc/config/pdp11/pdp11.h @@ -880,12 +880,6 @@ extern int may_call_alloca; `tablejump' insn. */ #define CASE_TAKES_INDEX_RAW -/* Define as C expression which evaluates to nonzero if the tablejump - instruction expects the table to contain offsets from the address of the - table. - Do not define this if the table should contain absolute addresses. */ -/* #define CASE_VECTOR_PC_RELATIVE 1 */ - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 515291cb371b3764fe4f033b5ff3eb28646ba42b..4e5235a954119a078e50a5235694596604fe9c7c 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -2190,12 +2190,6 @@ do { \ (! TARGET_PTR64 ? SImode : flag_pic ? DImode : TARGET_CM_MEDLOW ? SImode : DImode) #endif -/* Define as C expression which evaluates to nonzero if the tablejump - instruction expects the table to contain offsets from the address of the - table. - Do not define this if the table should contain absolute addresses. */ -/* #define CASE_VECTOR_PC_RELATIVE 1 */ - /* Define this as 1 if `char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 1 diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h index a956f1b6bb41615b2b4e553775fa950be4f66ca1..4665786a87e620433d2e3b2655c3dcb16620839f 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h @@ -1118,11 +1118,6 @@ typedef struct xtensa_args for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE (SImode) -/* Define this if the tablejump instruction expects the table - to contain offsets from the address of the table. - Do not define this if the table should contain absolute addresses. */ -/* #define CASE_VECTOR_PC_RELATIVE */ - /* Define this as 1 if 'char' should by default be signed; else as 0. */ #define DEFAULT_SIGNED_CHAR 0