From patchwork Sun Jan 9 17:30:54 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 78040 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 2897CB6F14 for ; Mon, 10 Jan 2011 04:31:16 +1100 (EST) Received: (qmail 20842 invoked by alias); 9 Jan 2011 17:31:15 -0000 Received: (qmail 20830 invoked by uid 22791); 9 Jan 2011 17:31:14 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from c2bthomr07.btconnect.com (HELO mail.btconnect.com) (213.123.20.125) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 09 Jan 2011 17:31:02 +0000 Received: from host81-138-1-83.in-addr.btopenworld.com (EHLO thor.office) ([81.138.1.83]) by c2bthomr07.btconnect.com with ESMTP id BMY37244; Sun, 09 Jan 2011 17:30:57 +0000 (GMT) Message-Id: <0BB5A936-ABB1-4714-B4C2-37139C012D90@sandoe-acoustics.co.uk> From: IainS To: GCC Patches Mime-Version: 1.0 (Apple Message framework v936) Subject: [Patch, Darwin] removed unused section. Date: Sun, 9 Jan 2011 17:30:54 +0000 Cc: Mike Stump X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0302.4D29F0CF.0097, actions=TAG X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0203.4D29F0D4.0090, ss=1, fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=single engine 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 Hi, a minor tidy... Now that we have an implementation of function partitioning, it seems that the text_unlikely_coal_section will not be needed on Darwin. bootstrapped/regtested on i686-darwin9. OK for trunk? Iain DEF_SECTION (text_hot_section, SECTION_CODE, ".section __TEXT,__text_hot,regular,pure_instructions", 0) Index: gcc/config/darwin-sections.def =================================================================== --- gcc/config/darwin-sections.def (revision 168616) +++ gcc/config/darwin-sections.def (working copy) @@ -27,12 +27,9 @@ along with GCC; see the file COPYING3. If not see Items that might be coalesced by the linker are prevented from participating, (and those in mergeable sections are disallowed in varasm.c). */ -/* .text handled in varasm.c */ +/* The .text section is generated in varasm.c */ DEF_SECTION (text_coal_section, SECTION_CODE|SECTION_NO_ANCHOR, ".section __TEXT,__textcoal_nt,coalesced,pure_instructions", 0) -DEF_SECTION (text_unlikely_coal_section, SECTION_CODE| SECTION_NO_ANCHOR, - ".section __TEXT,__text_unlikely_coal," - "coalesced,pure_instructions", 0)