diff mbox

[Darwin,Committed] fix over-length section name.

Message ID EE21ACDE-9993-40A5-9A75-698289BB325F@sandoe-acoustics.co.uk
State New
Headers show

Commit Message

Iain Sandoe Dec. 12, 2011, 8:38 a.m. UTC
section names can be at most 16 characters for mach-o;
I applied the following as obvious (r182220)
cheers
Iain

gcc:

	* config/darwin-sections.def (zobj_const_data_section): Fix over-
	length section name.

".cstring", 0)
diff mbox

Patch

Index: gcc/config/darwin-sections.def
===================================================================
--- gcc/config/darwin-sections.def	(revision 182219)
+++ gcc/config/darwin-sections.def	(working copy)
@@ -76,7 +76,7 @@  DEF_SECTION (const_data_coal_section, SECTION_NO_A
  	     ".section __DATA,__const_coal,coalesced", 0)
  /* Place to put zero-sized to avoid issues with section anchors.  */
  DEF_SECTION (zobj_const_data_section, SECTION_NO_ANCHOR,
-	     ".section\t__DATA,__zobj_const_data", 0)
+	     ".section\t__DATA,__zobj_cnst_data", 0)

  /* Strings and other literals.  */
  DEF_SECTION (cstring_section, SECTION_MERGE | SECTION_STRINGS,