Message ID | 20240708174929.15137-1-binutils@emagii.com |
---|---|
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 69B68384B03F for <patchwork@sourceware.org>; Mon, 8 Jul 2024 17:50:15 +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 8BBB13865C29 for <binutils@sourceware.org>; Mon, 8 Jul 2024 17:49:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8BBB13865C29 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 8BBB13865C29 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=1720460975; cv=none; b=R4XCE2dR9XcA6Nqo5Wpaxms9CeGA2tpdsWqv1/ZJzwALcwYYEGp4PuqeZTYEABIiJ8W44D9p1/D1ECOTAAd0MUATB+dq2bRElv6r2HjeRTN3JGWDfdVXE9I2EAIJWtogdD1t7OZZ7FTkry0uJfA5oE3o60CUCkDNVAC/D+iZbAQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720460975; c=relaxed/simple; bh=/xiVm8eRGKBl93G7qPLznofT8YacxrJmfxUI4epbgOk=; h=From:To:Subject:Date:Message-Id; b=gV55Cc/fuxRnu5DzO8aRmJan/Qpm3WBg/1CuKJQJajYgZQvMxjIyM4orEDOJXvDki8VEFnAUcxQzyorky0TEShYw/ZUWse1LDL6w5qqE+9fsZnzzvXvkL/ZZwfb3dVYc0LxnczPXibFEW3qTbbAgVpMocxxDtRQ+6bLYAr8ESHk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by morgoth (Postfix, from userid 1000) id F1881340BE8; Mon, 8 Jul 2024 19:49:31 +0200 (CEST) From: binutils@emagii.com To: binutils@sourceware.org Cc: nickc@redhat.com Subject: [PATCH v4 0/7] ASCII output section command Date: Mon, 8 Jul 2024 19:49:22 +0200 Message-Id: <20240708174929.15137-1-binutils@emagii.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, FSL_HELO_NON_FQDN_1, HEADER_FROM_DIFFERENT_DOMAINS, HELO_NO_DOMAIN, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KHOP_HELO_FCRDNS, 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 |
ASCII output section command
|
|
Message
Ulf Samuelsson
July 8, 2024, 5:49 p.m. UTC
Implement the ASCII command for output sections Introduce a command which adds a fixed size string. ASCII <size> ',' <string> Size specified in command. If the string is shorter than the allocated area, it is zero filled If the string is longer than the allocated area, it is truncated and a NUL character is added at the end. Corrected ld.texi to use new syntax in index Use hyphen instead of double quote in index, also for ASCIZ More examples on misformed ASCII commands Fix off-by-one error in lang_add_string Fix whitespace error in ldgram.y and testsuite Note: Will be merged into fewer patches after acceptance in final version [PATCH v4 1/7] ldlex.l: Add ASCII token [PATCH v4 2/7] ldgram.y: Add ASCII parsing [PATCH v4 3/7] ldlang.*: process ASCII command [PATCH v4 4/7] ld.texi: Add ASCII to info file [PATCH v4 5/7] Add testsuite for ASCII command [PATCH v4 6/7] NEWS: Add ASCII command [PATCH v4 7/7] ChangeLog: Add ASCII command