aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-23 01:17:55 +0000
committerdalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-23 01:17:55 +0000
commite676bcb4a851583ed3780951e85fb5b0580437d4 (patch)
treee38f9d9a8fa0b6ab49f351f43da560829369ea28 /gcc
parent5e8cda9b52853ea899614b0d1a334bd3911ea76f (diff)
2004-11-22 Dale Johannesen <dalej@apple.com>
* config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Conditionalize properly and comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91060 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 ca6009f69d1..742feea1e6c 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 b2fab50f94f..246062d8c3d 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