From patchwork Mon Dec 12 08:38:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 130672 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 05CDDB702E for ; Mon, 12 Dec 2011 19:39:10 +1100 (EST) Received: (qmail 31880 invoked by alias); 12 Dec 2011 08:39:06 -0000 Received: (qmail 31869 invoked by uid 22791); 12 Dec 2011 08:39:05 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from c2beaomr06.btconnect.com (HELO mail.btconnect.com) (213.123.26.184) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Dec 2011 08:38:50 +0000 Received: from host81-138-1-83.in-addr.btopenworld.com (EHLO thor.office) ([81.138.1.83]) by c2beaomr06.btconnect.com with ESMTP id FRY77051; Mon, 12 Dec 2011 08:38:48 +0000 (GMT) Message-Id: From: Iain Sandoe To: GCC Patches Mime-Version: 1.0 (Apple Message framework v936) Subject: [Patch, Darwin, Committed] fix over-length section name. Date: Mon, 12 Dec 2011 08:38:47 +0000 Cc: Mike Stump X-Mirapoint-IP-Reputation: reputation=Good-1, source=Queried, refid=tid=0001.0A0B0303.4EE5BD98.002E, actions=TAG X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2011.12.12.75416:17:7.586, ip=81.138.1.83, rules=__HAS_MSGID, __SANE_MSGID, __MSGID_APPLEMAIL, __TO_MALFORMED_2, __CT, __CT_TEXT_PLAIN, __CTE, __MIME_VERSION, __MIME_VERSION_APPLEMAIL, __HAS_X_MAILER, __X_MAILER_APPLEMAIL, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_900_999, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, __USER_AGENT_APPLEMAIL, BODY_SIZE_1000_LESS, RDNS_SUSP, BODY_SIZE_2000_LESS, BODY_SIZE_7000_LESS, NO_URI_FOUND X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B020C.4EE5BD98.019D, ss=1, re=0.000, fgs=0, ip=0.0.0.0, so=2011-07-25 19:15:43, dmn=2011-05-27 18:58:46, mode=multiengine X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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) 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,