From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emagii.se (www.emagii.com [185.133.207.17]) by sourceware.org (Postfix) with ESMTPS id 2154D3858C78 for ; Fri, 10 Mar 2023 00:08:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2154D3858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=emagii.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=emagii.com Received: from valinor.ownit.se (84-55-68-216.customers.ownit.se [84.55.68.216]) by emagii.se (Postfix) with ESMTPSA id 1F8E91205C3; Fri, 10 Mar 2023 01:08:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emagii.com; s=default; t=1678406918; bh=HxM8VXTyBfX1Dgv8CVCIkZyCr0Cw9BFEOeG5SfA0wC8=; h=From:To:Subject; b=BzC2T9CtT3fJw5tzoEfTlLFcJDiTwOGLsfypBGAj3epn7DYsFjjJLeUXvkQMWyaSu NIoC6zA2Zfyivko1Ou3yja0UYiyqa0NVZ3UZdLtnCUMWJvM14T719HcxA6kFpS0WHQ WMnB4wNpDbbN+M5CwivTQRZUew16wbhdMCiJP3tM= Authentication-Results: emagii.beebytevps.io; spf=pass (sender IP is 84.55.68.216) smtp.mailfrom=binutils@emagii.com smtp.helo=valinor.ownit.se Received-SPF: pass (emagii.beebytevps.io: connection is authenticated) From: binutils@emagii.com To: binutils@sourceware.org Cc: nickc@redhat.com, Ulf Samuelsson Subject: [PATCH v1 1/7] SECTOR: NEWS Date: Fri, 10 Mar 2023 01:08:11 +0100 Message-Id: <20230310000817.751962-2-binutils@emagii.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230310000817.751962-1-binutils@emagii.com> References: <20230310000817.751962-1-binutils@emagii.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <167840691695.3747685.6315419463726684178@localhost.localdomain> X-PPP-Vhost: emagii.com X-Spam-Status: No, score=-12.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 autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: From: Ulf Samuelsson Signed-off-by: Ulf Samuelsson --- ld/NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/ld/NEWS b/ld/NEWS index b79023ecb95..21b33b58220 100644 --- a/ld/NEWS +++ b/ld/NEWS @@ -1,5 +1,47 @@ -*- text -*- +* The linker script now support aligning to a Flash sector boundary. + The BANK command defines the flash bank name, and contains a list + of sector definitions. + symbols are defined for "begin", "end" and "size" of a sector. + + An 'ALIGN_SECTOR' command will check the location counter + against the defined sectors and if inside a sector, it will + align to the sector boundary. + + New commands: + + BANK ( bankname ) { sector_list } + SECTOR ( "