This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]