]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sp64-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Delete.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 4 Dec 2006 09:31:48 +0000 (10:31 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 4 Dec 2006 09:31:48 +0000 (09:31 +0000)
* config/sparc/sp64-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Delete.
* config/sparc/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.

From-SVN: r119482

gcc/ChangeLog
gcc/config/sparc/sp64-elf.h
gcc/config/sparc/sysv4.h

index 0a0984d96da4c98bc6520de8e01da5aa2b0222df..79ab4fe30ebe3506b1b7350e9e51259568f1726f 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sp64-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Delete.
+       * config/sparc/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
+
 2006-12-04  Eric Botcazou  <ebotcazou@adacore.com>
 
        * tree.c (walk_type_fields): Do not handle TYPE_MIN_VALUE and
index 53f2144e86a48ed1b9b6dea955b48a33fd27a971..1cfde5da55908e4bc09f2d82f990020d940e5a16 100644 (file)
@@ -108,11 +108,3 @@ crtbegin.o%s \
 
 #undef LONG_DOUBLE_TYPE_SIZE
 #define LONG_DOUBLE_TYPE_SIZE 128
-
-/* The medium/anywhere code model practically requires us to put jump tables
-   in the text section as gcc is unable to distinguish LABEL_REF's of jump
-   tables from other label refs (when we need to).  */
-/* But we now defer the tables to the end of the function, so we make
-   this 0 to not confuse the branch shortening code.  */
-#undef JUMP_TABLES_IN_TEXT_SECTION
-#define JUMP_TABLES_IN_TEXT_SECTION 0
index 0c0c8e0d0556eb0da39303ad99d7a6ea11d4205d..da91e251e7d270c21a5dad3c5366186a1ceec567 100644 (file)
@@ -48,13 +48,6 @@ Boston, MA 02110-1301, USA.  */
 #undef SKIP_ASM_OP
 #undef SET_ASM_OP      /* Has no equivalent.  See ASM_OUTPUT_DEF below.  */
 
-/* The native assembler can't compute differences between symbols in different
-   sections when generating pic code, so we must put jump tables in the
-   text section.  */
-/* But we now defer the tables to the end of the function, so we make
-   this 0 to not confuse the branch shortening code.  */
-#define JUMP_TABLES_IN_TEXT_SECTION 0
-
 /* Pass -K to the assembler when PIC.  */
 #undef ASM_SPEC
 #define ASM_SPEC \