From patchwork Fri Jul 5 16:22:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Samuelsson X-Patchwork-Id: 93435 Return-Path: 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 13EA93888C52 for ; Fri, 5 Jul 2024 16:24:31 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from morgoth (host183-192-94.customer.mediateknik.net [193.183.192.94]) by sourceware.org (Postfix) with ESMTP id 6654C382BC28 for ; Fri, 5 Jul 2024 16:22:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6654C382BC28 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=emagii.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=morgoth ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6654C382BC28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=193.183.192.94 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720196575; cv=none; b=M3i5B7p108OVOmzhNJJk5Mtxe+YoVEfpMdXzaI3RKfZfUsXKdbYiDIB12ytd5hbJcI92lWgfRXVFrbnGnrtuMnozfppGKyjEgQVL41IQVSWMkk5G7t3o91VYDM45Xyne/injagatUr/C20O3qQ36AS02s4/ALIzYqL8fSLMkyLI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720196575; c=relaxed/simple; bh=x0jvTyCO19b4Eo+79FkP/+09y9NHTclUx8YHu/xPZ9w=; h=From:To:Subject:Date:Message-Id; b=w6dVGnDnOGQz2Bd/1TtVDFgrGmIIplvJT1tOpwhY/z2tDdI+psW7F/c9vIw99nU5vLq6Tkg17bAFDPI+DJGw8lJe4x/vjx92ygTZLx/DRQdS1gkq462ohWizfule6NEtAaQgHa/8oAJH4W5W2mqiqWpAuOazThPAHlGLGWzBqMk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by morgoth (Postfix, from userid 1000) id EBE45340BEA; Fri, 5 Jul 2024 18:22:50 +0200 (CEST) From: binutils@emagii.com To: binutils@sourceware.org Cc: nickc@redhat.com, Ulf Samuelsson Subject: [PATCH v2 1/7] ldlex.l: Add ASCII token Date: Fri, 5 Jul 2024 18:22:42 +0200 Message-Id: <20240705162248.24954-2-binutils@emagii.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240705162248.24954-1-binutils@emagii.com> References: <20240705162248.24954-1-binutils@emagii.com> X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, FSL_HELO_NON_FQDN_1, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, HELO_NO_DOMAIN, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KHOP_HELO_FCRDNS, SPF_NONE, TXREP 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.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces~patchwork=sourceware.org@sourceware.org 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 aa613100db0..c67c83689d7 100644 --- a/ld/ldlex.l +++ b/ld/ldlex.l @@ -311,6 +311,7 @@ V_IDENTIFIER [*?.$_a-zA-Z\[\]\-\!\^\\]([*?.$_a-zA-Z0-9\[\]\-\!\^\\]|::)* "LONG" { RTOKEN(LONG); } "SHORT" { RTOKEN(SHORT); } "BYTE" { RTOKEN(BYTE); } +"ASCII" { RTOKEN(ASCII); } "ASCIZ" { RTOKEN(ASCIZ); } "LINKER_VERSION" { RTOKEN(LINKER_VERSION); }