aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2004-11-23 01:17:55 +0000
committerDale Johannesen <dalej@gcc.gnu.org>2004-11-23 01:17:55 +0000
commit5a25e0c5ec1acfd8588b1a7a896dc9aa81e5ab55 (patch)
treee38f9d9a8fa0b6ab49f351f43da560829369ea28
parent16f592418f6d21d6e9d713aec63973bf6344b1b7 (diff)
downloadgcc-5a25e0c5ec1acfd8588b1a7a896dc9aa81e5ab55.zip
gcc-5a25e0c5ec1acfd8588b1a7a896dc9aa81e5ab55.tar.gz
gcc-5a25e0c5ec1acfd8588b1a7a896dc9aa81e5ab55.tar.bz2
darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Conditionalize properly and comment.
2004-11-22 Dale Johannesen <dalej@apple.com> * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Conditionalize properly and comment. From-SVN: r91060
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/darwin.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ca6009f..742feea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index b2fab50..246062d 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -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