From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2376 invoked by alias); 20 Dec 2010 21:18:10 -0000 Received: (qmail 2363 invoked by uid 22791); 20 Dec 2010 21:18:09 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 20 Dec 2010 21:18:04 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBKLI2CU028612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Dec 2010 16:18:02 -0500 Received: from anchor.twiddle.home (ovpn-113-109.phx2.redhat.com [10.3.113.109]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oBKLI13C012880; Mon, 20 Dec 2010 16:18:02 -0500 Message-ID: <4D0FC809.7030307@redhat.com> Date: Mon, 20 Dec 2010 21:49:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: IainS CC: GCC Patches , Mike Stump , Jan Hubicka Subject: Re: [Patch] Fix anonymous code atoms problem on Darwin. References: <217CD416-F4B9-4F82-AF96-0820498443DB@sandoe-acoustics.co.uk> In-Reply-To: <217CD416-F4B9-4F82-AF96-0820498443DB@sandoe-acoustics.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg01583.txt.bz2 On 12/20/2010 03:07 AM, IainS wrote: > * target.def (function_switched_text_sections): New Hook. > * doc/tm.texi Regenerated. > * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS) > New. > * final.c (default_function_switched_text_sections): New. > (final_scan_insn): Call function_switched_text_sections when a mid-function section > change occurs. > * output.h (default_function_switched_text_sections): Declare. > * config/darwin-protos.h (darwin_function_switched_text_sections) : Likewise. > * config/darwin.c (darwin_function_switched_text_sections): New. > * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS) > New. Ok by me, assuming Mike is ok with it. r~