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]

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
 


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