darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Conditionalize properly and comment.
authorDale Johannesen <dalej@apple.com>
Tue, 23 Nov 2004 01:17:55 +0000 (01:17 +0000)
committerDale Johannesen <dalej@gcc.gnu.org>
Tue, 23 Nov 2004 01:17:55 +0000 (01:17 +0000)
2004-11-22  Dale Johannesen  <dalej@apple.com>

        * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION):  Conditionalize
        properly and comment.

From-SVN: r91060

gcc/ChangeLog
gcc/config/darwin.h

index ca6009f69d1cdaa1c2baa79bea21ef3b3802ba35..742feea1e6ced6bacec18da7c02141a1e79657e0 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-22  Dale Johannesen  <dalej@apple.com>
+
+       * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION):  Conditionalize
+       properly and comment.
+
 2004-11-22  James A. Morrison  <phython@gcc.gnu.org
 
        * config/sparc/sparc.c: Include insn-codes.h and langhooks.h.
index b2fab50f94fc8db8802378a2f0dcc746ffb7a964..246062d8c3d61322344fe9b0b4c2ed06fae8c9e5 100644 (file)
@@ -999,7 +999,12 @@ enum machopic_addr_class {
        goto DONE;                                                                      \
       }
 
+/* Experimentally, putting jump tables in text is faster on SPEC.
+   Also this is needed for correctness for coalesced functions.  */
+
+#ifndef JUMP_TABLES_IN_TEXT_SECTION
 #define JUMP_TABLES_IN_TEXT_SECTION 1
+#endif
 
 #define TARGET_TERMINATE_DW2_EH_FRAME_INFO false