This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFT/RFA: Darwin INIT_SECTION_ASM_OP
- From: Richard Sandiford <richard at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 10 Dec 2005 00:39:10 +0000
- Subject: RFT/RFA: Darwin INIT_SECTION_ASM_OP
My section patch contained the following hunk:
Index: gcc/config/darwin.h
===================================================================
--- gcc/config/darwin.h (revision 108106)
+++ gcc/config/darwin.h (working copy)
@@ -437,7 +437,7 @@ #define TARGET_ASM_EMIT_UNWIND_LABEL dar
#define NO_PROFILE_COUNTERS 1
#undef INIT_SECTION_ASM_OP
-#define INIT_SECTION_ASM_OP
+#define HAS_INIT_SECTION
#undef INVOKE__main
I convinced myself that this was OK at the time, but now that the
new code can cope with empty INIT_SECTION_ASM_OPs, I'd feel better
restoring the original #defines. Could someone with access to darwin
please try bootstrapping this patch? OK to install if it passes?
Richard
* config/darwin.h (HAS_INIT_SECTION): Remove definition.
(INIT_SECTION_ASM_OP): Restore empty definition from before 2005-12-07.
Index: gcc/config/darwin.h
===================================================================
--- gcc/config/darwin.h (revision 108329)
+++ gcc/config/darwin.h (working copy)
@@ -441,7 +441,7 @@ #define TARGET_ASM_EMIT_UNWIND_LABEL dar
#define NO_PROFILE_COUNTERS 1
#undef INIT_SECTION_ASM_OP
-#define HAS_INIT_SECTION
+#define INIT_SECTION_ASM_OP
#undef INVOKE__main