This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch [darwin]: Move jump tables back into text section
- From: Dale Johannesen <dalej at apple dot com>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Cc: Dale Johannesen <dalej at apple dot com>
- Date: Sun, 21 Nov 2004 22:43:27 -0800
- Subject: Patch [darwin]: Move jump tables back into text section
Geoff's change to move jump tables to the data section, while perfectly
logical, proves to be a sizeable loser on SPEC in practice, so back
they go into text. Bootstrapped.
2004-11-21 Dale Johannesen <dalej@apple.com>
* config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Define.
Index: darwin.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/darwin.h,v
retrieving revision 1.105
diff -u -d -b -w -p -r1.105 darwin.h
--- darwin.h 18 Nov 2004 01:10:11 -0000 1.105
+++ darwin.h 22 Nov 2004 06:42:36 -0000
@@ -999,6 +999,7 @@ enum machopic_addr_class {
goto DONE;
\
}
+#define JUMP_TABLES_IN_TEXT_SECTION 1
#define TARGET_TERMINATE_DW2_EH_FRAME_INFO false