From patchwork Mon Feb 13 12:22:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Samuelsson X-Patchwork-Id: 56261 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2311945wrn; Mon, 13 Feb 2023 04:23:10 -0800 (PST) X-Google-Smtp-Source: AK7set+PDulOHYn9n3k9RvB5J28jghAFpV624+qAhCJoqhzS1V8vagOxRmYrxHhKYoqc6PMJYWvb X-Received: by 2002:a17:907:a506:b0:8af:2a62:30c9 with SMTP id vr6-20020a170907a50600b008af2a6230c9mr19610489ejc.34.1676290990471; Mon, 13 Feb 2023 04:23:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676290990; cv=none; d=google.com; s=arc-20160816; b=Bl4FJnnrAZLfd6mhEVRDyoipp9/VuwsCqIP6R9mTwJcM00RvvSvWivli6M369XRWND GmbKjc/hPlZimkzXxJHxe9rqN+9scgmHSy9ZQdV4ZJ24bNjZvT+heK/WWG5HegCcYoSX ZopkljegxIM6cXsaVOw2ijChXaYNloFUCgNc5hOMAXCk/EqYB4WYo6KtQw+fz0l17nqm ZrlPJenfKHcKdRG6D9LdJtvI1X6aUdQsyfbeaxzQ2adQ50fayc3S8tn4zWyRiw3+2i1l DxMhHgcFKP+Q3NG0Nnj6QvTcYGPpIWAh5nMk4B+Q39DQOcqhpJrWRE8JdaihL55yY592 Jdqw== 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=XWpL5RZXfYvQlYZomwP4R6TqpckuW87iQnGrA/aQg2r9FEcPDv9W9AhAy8OQ86G0bT UKLR3Aw0/G3wKTKKx3hFVZAc5EzjcgIrLJ7fD+zZwRooAOlA6ncduwmF2fh3u4sHRYLr ChXsGI7qklEL+SDle2LjY7BbJ7eb0ixdvoxyLZMAJ1URNts3c/HXOKTR4fErhD6sLUgM 1D33iSbWexMvzjsnGsYR2lK3E2g0HoMAZ34vjtgOAKlFB5Dpmv/rywpGIkofeCwxDrHV j8oGHfd/cAjH60R3mA/8rCzIogZsIXXvpHgWcIZcJb7VGeIEAPlTQLno/GasuIbuLRS1 pHCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=t8QHsP3A; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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 (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ft29-20020a170907801d00b00879d438501dsi13262719ejc.431.2023.02.13.04.23.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 04:23:10 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=t8QHsP3A; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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 EC7F73846469 for ; Mon, 13 Feb 2023 12:23:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EC7F73846469 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676290988; 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=t8QHsP3ADa0hw7ZgFbOqoor5tUFQKKriU++KF6sR1BB/x21QhcC3x5LrB1iXjvU3X RWOSHCWx55X8rYqZCLJ1zpx83VUfRwzZntGyLqB5YzyZ3RBmLrsSg7F4tBb8LbDdZs 9y+L+zQtiM2aIwECsODEsR6NS0SXNVuK/dTFFoB0= 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 CD2743857438 for ; Mon, 13 Feb 2023 12:22:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CD2743857438 Received: from valinor.ownit.se (84-55-68-216.customers.ownit.se [84.55.68.216]) by emagii.se (Postfix) with ESMTPSA id 7CA941201FD; Mon, 13 Feb 2023 13:22:56 +0100 (CET) Received-SPF: pass (emagii.beebytevps.io: connection is authenticated) To: binutils@sourceware.org Cc: nickc@redhat.com, Ulf Samuelsson Subject: [PATCH v2 1/5] ldlex.l: Add ASCIZ token Date: Mon, 13 Feb 2023 13:22:37 +0100 Message-Id: <20230213122241.6144-2-binutils@emagii.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230213122241.6144-1-binutils@emagii.com> References: <20230213122241.6144-1-binutils@emagii.com> X-PPP-Message-ID: <167629097680.3735073.13409764814566596903@localhost.localdomain> X-PPP-Vhost: emagii.com X-Spam-Status: No, score=-11.5 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?1757718501223337649?= X-GMAIL-MSGID: =?utf-8?q?1757718501223337649?= 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); }