From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9231 invoked by alias); 28 Nov 2012 21:00:44 -0000 Received: (qmail 9222 invoked by uid 22791); 28 Nov 2012 21:00:44 -0000 X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com) (209.85.212.179) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 28 Nov 2012 21:00:36 +0000 Received: by mail-wi0-f179.google.com with SMTP id hj6so4595890wib.8 for ; Wed, 28 Nov 2012 13:00:34 -0800 (PST) Received: by 10.180.97.72 with SMTP id dy8mr31663283wib.6.1354136434839; Wed, 28 Nov 2012 13:00:34 -0800 (PST) Received: from localhost ([2.28.234.219]) by mx.google.com with ESMTPS id g2sm9101735wiy.0.2012.11.28.13.00.32 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Nov 2012 13:00:33 -0800 (PST) From: Richard Sandiford To: Richard Earnshaw Mail-Followup-To: Richard Earnshaw ,Andrew Pinski , GCC Patches , rdsandiford@googlemail.com Cc: Andrew Pinski , GCC Patches Subject: Re: [AARCH64/Committed] Fix g++.dg/abi/aarch64_guard1.C References: <50B62BA0.6060003@arm.com> Date: Wed, 28 Nov 2012 21:00:00 -0000 In-Reply-To: <50B62BA0.6060003@arm.com> (Richard Earnshaw's message of "Wed, 28 Nov 2012 15:20:00 +0000") Message-ID: <87fw3tmoi8.fsf@talisman.default> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2012-11/txt/msg02371.txt.bz2 Richard Earnshaw writes: > On 06/11/12 22:05, Andrew Pinski wrote: >> Hi, >> The problem here is with section anchors turned on, we generate a >> BSS rather than a local common symbol and we no longer match the >> pattern: "_ZGVZ3foovE1x,8,8". This fixes this testcase by just adding >> -fno-section-anchors. >> > > Why is -fsection-anchors changing the choice of output section? Sure, > section anchors are more useful when you use BSS rather than Common, but > it shouldn't in itself be changing that choice. It's not really changing the output section, just the assembly syntax used to define the symbol. Local common ends up as the equivalent of: .section .bss,... .align M foo: .size N Richard