From patchwork Fri Feb 10 17:44:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Samuelsson X-Patchwork-Id: 55502 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1087702wrn; Fri, 10 Feb 2023 09:44:36 -0800 (PST) X-Google-Smtp-Source: AK7set/k6qY784SWgZp+7EycZrZqum9d+LmpF7Oe3rro38gBw2VVnH3g2iYl8zAPsEtuIAAxExqY X-Received: by 2002:a17:906:7f98:b0:884:3174:119d with SMTP id f24-20020a1709067f9800b008843174119dmr18516779ejr.14.1676051076595; Fri, 10 Feb 2023 09:44:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676051076; cv=none; d=google.com; s=arc-20160816; b=jfqOkK0OqESyfEMeIPxCyNqORprmaWT9tjt6C9fHwqGNuS0UBFlR5h+NCH4BSoyKQr 7xATIBet/1idq5QL66YFtsIHqxohzuoAEF4JgeKrcFkoQ8ZJ1XuczRp3UTNrGZ3Zx9CZ eHBy8XTwDZnJ8ofiBXOV5X2HFQQVpuZmxjwKESpf2N+bMn9zWGdp8hfv7owKrK9w6a2x mr+JoPmtZQ/0zKIBvoSSakK3Cn/FpoYsSL7+Wjcs1jlByaOi0jBlqJKX2NS/I9yJiV1z 8hDjLJ/NPMpUBd1Ff/Mp+r9ixdQ2NnChZqiOty6jNppipaZIPUlEJ1pBswRFXyWx6mH+ cpHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=lg2uknn9+rfTXQu+BHUHmgYlf6+X7LjOSHA4wxZIdyo=; b=NhQe6Vj95DhtT3RwwDX2ZcGXGSb6IMgSwZ/hnJAOoHljZGzPtWqyWJ5gp/UPWyBffx G3ySCVz9zaPSs49XkqkSQqR/pILQVZUYDzbcUt1LpJ+E9f6k2sl3dMn+HU1LfD/UI3SQ 3niO5dfqXdTR4WDmE+7Se/aPQ4Ho9SI3Ua367t/On7DVXV4STwQKHpuIIxyYDoWmWA+g QAxt2/RjkFMLq017I+xD3cGTQnj2KTHAvqnFEO2QbjOj7foo0J1qNx7YluRvu7rrtvKp jmsR3lBU1YiBBl/Lwk9kD1gWi9Mvko138q7cQaaZ2PBKA95OLctm17Z9XZ2fBCQPa8xX dbhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=Q6eblqJl; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id 1-20020a17090600c100b0088dd72fa97dsi7688878eji.975.2023.02.10.09.44.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Feb 2023 09:44:36 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=Q6eblqJl; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C76B238493E9 for ; Fri, 10 Feb 2023 17:44:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C76B238493E9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676051065; bh=lg2uknn9+rfTXQu+BHUHmgYlf6+X7LjOSHA4wxZIdyo=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Q6eblqJlRpNmLmVA4LfzcF/OAFPyhZEusproVfXWtmMfujZc7lwdWwI5VzWvcwYFR PWQIFLNg2nzBsTm2VeAyaMQD7eU93EPGbycnm6Mi3fY2FG7urQp2anpzNtJOepIPV9 Jr34DiSExbHrueHoFRy3kqgi0YLnMmXEqjBPwWzQ= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from emagii.se (www.emagii.com [185.133.207.17]) by sourceware.org (Postfix) with ESMTPS id 3494938515F1 for ; Fri, 10 Feb 2023 17:44:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3494938515F1 Received: from valinor.ownit.se (84-55-68-216.customers.ownit.se [84.55.68.216]) by emagii.se (Postfix) with ESMTPSA id E58EB1207E0; Fri, 10 Feb 2023 18:44:14 +0100 (CET) Received-SPF: pass (emagii.beebytevps.io: connection is authenticated) To: binutils@sourceware.org Cc: Ulf Samuelsson Subject: [PATCH 1/4] ldlex.l: Add ASCIZ token Date: Fri, 10 Feb 2023 18:44:01 +0100 Message-Id: <20230210174404.3763-2-binutils@emagii.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230210174404.3763-1-binutils@emagii.com> References: <20230210174404.3763-1-binutils@emagii.com> X-PPP-Message-ID: <167605105522.3626975.4011950612737067606@localhost.localdomain> X-PPP-Vhost: emagii.com X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_FAIL, SPF_PASS, TXREP, UPPERCASE_50_75 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-Patchwork-Original-From: Ulf Samuelsson via Binutils From: Ulf Samuelsson Reply-To: binutils@emagii.com Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757466933236680562?= X-GMAIL-MSGID: =?utf-8?q?1757466933236680562?= From: Ulf Samuelsson Signed-off-by: Ulf Samuelsson --- ld/ldlex.l | 1 + 1 file changed, 1 insertion(+) diff --git a/ld/ldlex.l b/ld/ldlex.l index cf596530b20..32336cf0be2 100644 --- a/ld/ldlex.l +++ b/ld/ldlex.l @@ -309,6 +309,7 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^\\]([*?.$_a-zA-Z0-9\[\]\-\!\^\\]|::)* "LONG" { RTOKEN(LONG); } "SHORT" { RTOKEN(SHORT); } "BYTE" { RTOKEN(BYTE); } +"ASCIZ" { RTOKEN(ASCIZ); }