From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92141 invoked by alias); 23 Mar 2016 18:55:15 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 92120 invoked by uid 89); 23 Mar 2016 18:55:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=sterling, Beulich, beulich, HX-Envelope-From:sk:augusti X-HELO: mail-vk0-f44.google.com Received: from mail-vk0-f44.google.com (HELO mail-vk0-f44.google.com) (209.85.213.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 23 Mar 2016 18:55:04 +0000 Received: by mail-vk0-f44.google.com with SMTP id z68so31022103vkg.3 for ; Wed, 23 Mar 2016 11:55:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=VgUw88oaAsUBr3rP8sib1BjGatMNk9RUC5e+oqU1Cp4=; b=gbjz5gyYIRFfv7A4GqWua/z5xLWVonXIhBjzkEVOQSFaxFJ7XuHyOdns82tmJyhQVO A856EgON+C+TyxZLFAD0tVQD/jY3adTBf7sJc9cwZAVsI1bNniIP0mgspnjvA0gIJx3m Gd+b0RJWIt8ewpre8qCvDIQGWjjKPUV79QcxS6svbUwIR6PqHNbTAcUCy+gRYexiuGHV MBswFMG5syfxJrG33CD7dao2sSc3yzG0OwkshxsHvN4icZJPcTLHaSYHlG8kZ6uCZB9M i2OCyogeArUFwunvEgmkhlgOnmbE7/kDVpWjT948HZPDFG1WvG8tr2zgGlDb2OA6SJQZ 4yVg== X-Gm-Message-State: AD7BkJLW5cbtfzBVDeLZMZ5ApVVbw7BIoIz+zrSVrQyBxnsqY0WNw9AKuzRUWiGsBJU2y8PGI80UzBB3IwdjDg== MIME-Version: 1.0 X-Received: by 10.176.0.147 with SMTP id 19mr2421422uaj.40.1458759302675; Wed, 23 Mar 2016 11:55:02 -0700 (PDT) Received: by 10.176.3.43 with HTTP; Wed, 23 Mar 2016 11:55:02 -0700 (PDT) In-Reply-To: <56F11C3402000078000DF167@prv-mh.provo.novell.com> References: <56D6DCAB02000078000D845A@prv-mh.provo.novell.com> <56E99A7F02000078000DD4E5@prv-mh.provo.novell.com> <20160316234647.GA22605@bubble.grove.modra.org> <56F11C3402000078000DF167@prv-mh.provo.novell.com> Date: Wed, 23 Mar 2016 18:55:00 -0000 Message-ID: Subject: Re: Ping: [PATCH] gas: fix bogus error on .org involving expression From: "augustine.sterling@gmail.com" To: Jan Beulich Cc: Alan Modra , Hans-Peter Nilsson , binutils@sourceware.org Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2016-03/txt/msg00311.txt.bz2 On Tue, Mar 22, 2016 at 2:19 AM, Jan Beulich wrote: > 3) xtensa-elf setting TC_FINALIZE_SYMS_BEFORE_SIZE_SEG to 0 > causes the "invalid operands (.text.unlikely and .text.startup > sections) for `-'" to not appear for elf/bad-group.s. Prior to the > change this was detected as "operation combines symbols in > different segments" from expr(), but the code change results in > this error getting eliminated. It's not clear to me how to make > sure the "finalize_syms" dependent "invalid operands" error from > resolve_symbol_value() gets properly raised for such targets > (nds32 appears to be the only other one, which my set of tested > targets didn't include). In the Xtensa port, the reason for setting TC_FINALIZE_SYMS_BEFORE_SIZE_SEG to zero is lost to the mists of time. Removing that setting creates no new failures in our testing. After that, applying the patch in question doesn't create the new failure you list above. I'll commit a patch to stop setting it, and the Xtensa port has no objection to this patch, and you shouldn't block on it. Sterling (thanks to David Weatherford for additional testing.)