From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id 8891038582BD for ; Tue, 28 Jun 2022 03:16:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8891038582BD Received: by mail-pl1-x635.google.com with SMTP id q18so9848755pld.13 for ; Mon, 27 Jun 2022 20:16:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=dn3TNo5F2dH7rNDE/ZsXXjy0CpnUn01aLihb6KdGZtg=; b=RcnElnW/HiQrdabeiXh8BDrPzI0EYvHTrzCcB+cBGOIQ4ljarObneon+LOsTy1YX/H rPswelmEr/sZD5i1peV0u3tBKVQNXEpQHYSwwSx7y9UyKPPTWdKt237PuoV88dyJtHA3 1kHYx7/YrsFebr11dl0vlh6Mh76nsjsrKw8bkQEzHTDpCECz7j8mtMyXs3mSfIaFA7hN EYdT8aFk2TsAN7PevjLtnLYX1Bn82YiQnftu3Hgkkgewp7ohTWGiLbXL0RnMjjkj0eRz +rH239/uHlpthdMwSsLdoyCDIKwlH5LUzeKncnjaS+83ioRiqWzHr219Exy3nxCP9jQy jVZg== X-Gm-Message-State: AJIora/GDX3nGmFmOM3loeREV1Omxv28iiTLjJ3tbi3qsstTiXmZ7hjX aGGF7nQ5v9DK6JrgAHcqpuwL0cc9bR4= X-Google-Smtp-Source: AGRyM1vOnpZU+0slb67ecJ8qrQWXRp+fggMVJT2MHF1sgAEzsYT29W7QV+wAaCSba3eITwxCV1/DCw== X-Received: by 2002:a17:90b:390e:b0:1ed:1133:8711 with SMTP id ob14-20020a17090b390e00b001ed11338711mr19098254pjb.90.1656386161612; Mon, 27 Jun 2022 20:16:01 -0700 (PDT) Received: from squeak.grove.modra.org (158.106.96.58.static.exetel.com.au. [58.96.106.158]) by smtp.gmail.com with ESMTPSA id x1-20020a17090ab00100b001e31f4cc977sm7915483pjq.56.2022.06.27.20.16.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 20:16:00 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id 3255A1140297; Tue, 28 Jun 2022 12:45:58 +0930 (ACST) Date: Tue, 28 Jun 2022 12:45:58 +0930 From: Alan Modra To: Jan Beulich Cc: Binutils , Nick Clifton , Dave Anglin , Jeff Law , Hans-Peter Nilsson Subject: Re: [PATCH] gas: fix bogus error on .org involving expression Message-ID: References: <3668dff3-15e3-2db6-4ebc-fb6f62b38668@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3668dff3-15e3-2db6-4ebc-fb6f62b38668@suse.com> X-Spam-Status: No, score=-3031.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2022 03:16:04 -0000 This is just speculation but I wonder if we could just drop expr_section, and use undefined_section in places where we currently create expression symbols? Conceptually, is there any real difference between an expression that we can't resolve just yet, and the simplest case of such an expression, an undefined symbol that is a forward reference? -- Alan Modra Australia Development Lab, IBM