Message ID | 58a7a26f-1507-422f-8cb4-2b96b4ceae3b@suse.com |
---|---|
State | Superseded |
Headers |
Return-Path: <binutils-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 01AD73826DC4 for <patchwork@sourceware.org>; Fri, 28 Jun 2024 13:17:46 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by sourceware.org (Postfix) with ESMTPS id 6D79C382FADF for <binutils@sourceware.org>; Fri, 28 Jun 2024 13:17:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6D79C382FADF Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6D79C382FADF Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::235 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719580638; cv=none; b=NxuvbROH6eJyQkizVE4nfUakgBDmi14DGgBl8xBN/OWaPFDUZTo+pDXSrfNgMezLlLbMtzPMQwqek5WBdUC6/NA4M1HxLIxeLIgEH+X1LlhrQnk4pGDxxUpoS/vIj57M31PnfIikZbUDUU29QAyZJFt4lQ0vl3gGtjjJ8ke1PcM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719580638; c=relaxed/simple; bh=JgFRHhUFMAsic0kLxJcMny/udEd7bGC2DqTNPUJW4+E=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:From:To; b=sG8ObDCCTLEoHYsezx9FruuHdjwctn5BUarzPY8CffY9DZ8mypBYqNNs/SEUT6BhDVrbj8lm+spprFtmnGbl5ZyHMxl5jJ2Ocv0A53h1isHGfsgzE+HjOOHagm/8A0cVf/2CScHLtgO2fUWn1lsZTowaJIKyhi2RJgjNYsa9nxc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2eaafda3b5cso5189851fa.3 for <binutils@sourceware.org>; Fri, 28 Jun 2024 06:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1719580635; x=1720185435; darn=sourceware.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:to:from:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ODVX20LJvQkhT6tJ9caw5HriysMX+AITFn7UK5pkUYU=; b=AYFBghCJexWcs4zl7S7pUKe2OxVs9YBBACik31aA4QgJCIxzgFAe8oCwUjlexGAtyC JYqiLuaYDG/LPDn002TWgb8HkOTdpODY0qQscUXqk2l+XHlwzzndMjx/wqMqcLOIu+Ib qv6yhy87Kg5fRR0RxzkffLw5AjZSKLOq2mAZ7GnoKmhFtW5Jp5GkvlmPMCKKWMW5D8Gm OhDKUu3t9JWwSCGmOHPMh8beGObc3WuC9V03rrAuwhle8/Muf8ZjhfYIXwcVKFrFFDR1 cHpFl5b6FCGj0KOigIEvorspUDq7ia6j2kWm+RRC1UZNLk3KU676Pq5QEYHbwwj/IeeT 9OYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719580635; x=1720185435; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ODVX20LJvQkhT6tJ9caw5HriysMX+AITFn7UK5pkUYU=; b=kWFvQKSQXkbVqf5XUkpqtEvSZXWBX/AUoZenx8Std0UT31Jjyf/C2eFnBr3Elp8PKo vbcMY8yhJde/dju7rpLoY/pO+X6cNs2qyN7icMLZmAAkmpwHMSlnGWGMlRsHBKvPGjbj w6GoN2vVO6BNGuV69G9vZ+uB0jcCAdJafDLfny/XJWGbqnCyOZkoh8Hk1L5S6fNiZZx4 sIWv5immnKyVONtB/lFJGfpPWJzFxqfkB74oLXgQdEK0D+SGQXNBppPzNmeMeMNxyREX Q6luGdvlTcb5uHozjLJohysZiiJd2bxCf/MMGZWhBI/h53CMFMbfX1tOv2ARNcMFr0Bi 9kzg== X-Gm-Message-State: AOJu0YxiIYr0chmRwEqfZAruwcTcD+ba3eIX8/DNRyujGj13Zp/KspUY KZeXavx87HxB5a2uNss5K8XtEzHffk3nCjGNZhyGpo46y2AVgPNkqyRwel5BYUV+FO1XXQeGk3M = X-Google-Smtp-Source: AGHT+IF4svYG9K2hR3LxaTx0Xr8seIjP6c3AY5P6KzbAwW0il8TprJH2i3ccsni9RlJHL1PVvYAT/w== X-Received: by 2002:a2e:9887:0:b0:2ea:7d8f:8d12 with SMTP id 38308e7fff4ca-2ec595879ffmr105549161fa.48.1719580634884; Fri, 28 Jun 2024 06:17:14 -0700 (PDT) Received: from [10.156.60.236] (ip-037-024-206-209.um08.pools.vodafone-ip.de. [37.24.206.209]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fac10d1460sm14936845ad.25.2024.06.28.06.17.13 for <binutils@sourceware.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Jun 2024 06:17:14 -0700 (PDT) Message-ID: <58a7a26f-1507-422f-8cb4-2b96b4ceae3b@suse.com> Date: Fri, 28 Jun 2024 15:17:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH 01/11] gas: there's no scrubber state 12 From: Jan Beulich <jbeulich@suse.com> To: Binutils <binutils@sourceware.org> References: <f12de588-f77f-41b5-a6d0-83c1eb7de05c@suse.com> Content-Language: en-US Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8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VT4XBJkfwBcpC/XcPzldjv+3 HYudvpdNK3lLujXeA5fLOH+Z/G9WBc5pFVSMocI71I8bT8lIAzreg0WvkWg5V2WZsUMlnDL9 mpwIGFhlbM3gfDMs7MPMu8YQRFVdUvtSpaAs8OFfGQ0ia3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL In-Reply-To: <f12de588-f77f-41b5-a6d0-83c1eb7de05c@suse.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3024.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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.30 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> Errors-To: binutils-bounces+patchwork=sourceware.org@sourceware.org |
Series |
gas: scrubber adjustments
|
|
Commit Message
Jan Beulich
June 28, 2024, 1:17 p.m. UTC
Apparently (beyond what's [easily] visible in git history) when this was added there was confusion about scrubber states vs lex[] contents. For the purposes here LEX_IS_DOUBLEDASH_1ST (which happens to also resolve to 12) alone is sufficient. "state" is never set to 12, and it being 12 also isn't handled anywhere.
--- a/gas/app.c +++ b/gas/app.c @@ -436,10 +436,7 @@ do_scrub_chars (size_t (*get) (char *, s 11: After seeing a symbol character in state 0 (eg a label definition) -1: output string in out_string and go to the state in old_state -2: flush text until a '*' '/' is seen, then go to state old_state -#ifdef TC_V850 - 12: After seeing a dash, looking for a second dash as a start - of comment. -#endif + 12: no longer used #ifdef DOUBLEBAR_PARALLEL 13: After seeing a vertical bar, looking for a second vertical bar as a parallel expression separator.