From patchwork Sun Oct 5 12:53:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9164 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4cfj4k5p6rz3wdV for ; Sun, 05 Oct 2025 12:53:26 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4cfj4k4r1jz40Z for ; Sun, 05 Oct 2025 12:53:26 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cfj4k461Zz32g7 for ; Sun, 05 Oct 2025 12:53:26 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cfj4g71D9z2xMD for ; Sun, 05 Oct 2025 12:53:23 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cfj4g1hyNz6p; Sun, 05 Oct 2025 12:53:23 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1759668803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4adKkWoZC5d3PjN83HtwSUvpOzlNx6Jp8pxFLO4iJJM=; b=dfllNMoefP3wypVRgZTURIm7Yv450mdFUv38t4xEIwu7u0IKJLkiKJ0JArakLYDdUQ/39B NU30XzxnTOZ2akDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1759668803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4adKkWoZC5d3PjN83HtwSUvpOzlNx6Jp8pxFLO4iJJM=; b=rzO95Pbl1MmF982wsF3I/Tec1NXAbB9UrzTyuBkHPkhS4eohhgXYRJF6bsHreLyms3z97F V+kR1WKPaxzKWyvGiyFffr7kQhS3V4IiW+jIQEUITX+uYzdtdJUSx8atpWA+OCDrTBYvoG DbmhI8/7R2h1jTXZDWYhGdGHc4MAMZvaRcx1opb6f/MRTfHEzPFtE1M4uM+NWfRcAE9WK6 NurEe1Pal1qjcEUAc+iKcvuvbyoOUBOsJjQIJALaJGX7yTYapFz2MqHy17V+rcLVb+yj2Q EgSl+3vUIoMAXtP2DlARmHym71dslzHgE/nXDhwgABtlfbCUwUaZkwOyIhKNfQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH 1/2] nasm: Update to version 3.00 Date: Sun, 5 Oct 2025 14:53:19 +0200 Message-ID: <20251005125320.3414701-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 2.16.03 to 3.00 - Update of rootfile not required - Changelog 3.00 Improve the documentation for building from source (appendix D). Add support for the APX and AVX10 instruction sets, and various miscellaneous new instructions. Add new preprocessor functions: %b2hs(), %chr(), %depend(), %find(), %findi(), %hs2b(), %null(), %ord(), %pathsearch(), and %realpath(). See section 5.4. New preprocessor directive %note to insert a note in the list file, without issuing an external diagnosic. Unlike a comment, it is optionally macro-expanded, see section 5.11. New preprocessor directive %iffile (and corresponding function %isfile()) to test for the existence of a file. See section 5.6.12. New preprocessor directive %ifdirective to test for the existence of a preprocessor directive, assembly directive, or pseudo-instruction; see section 5.6.10. Fix a number of invalid memory references (usually causing crashes) on various invalid inputs. Fix multiple bugs in the handling of $–escaped symbols. The use of $ as a prefix for hexadecimal numbers has been deprecated, and will now issue a warning. A new directive [DOLLARHEX] can be used to disable this syntax entirely, see section 8.12. Fix the generation of segment selector references (mainly used in the obj output format.) Fix crash in the obj backend when code was emitted into the default segment, without any labels having been defined. Clean up the command-line help text (-h) and break it down into individual topics, as the previous output was just too verbose to be practical as a quick reference. The implicit DEFAULT ABS in 64-bit mode is deprecated and may be changed to REL in the future. See section 8.2. A warning is now emitted for this condition. It is now possible to set the REL/ABS default for memory accesses using FS: or GS:, see section 8.2. The __?DEFAULT?__ standard macro now reflects the settings of the DEFAULT directive. See section 6.4. The NASM preprocessor now assumes that an unknown directive starting with %if or %elif is a misspelled or not yet implemented conditional directive, and tries to match it with a corresponding %endif. See section 5.6.14. The masm macro package now defines a macro for x87 register syntax. See section 7.5. A new macro package, vtern, to simplify generation of the control immediates for the VPTERNLOGD and VPTERNLOGQ instructions. See section 7.6. A new command line option -LF allows overriding [LIST -] directives. In the obj output format, allow a segment in the FLAT pseudo-group to also belong to another (real) group. Used on OS/2. Add a new build_version directive to the Mach-O backend. See section 9.8.6. Fix a spec violation in the generation of DWARF debugging information on ELF. Response files can now be nested. Many documentation improvements. Signed-off-by: Adolf Belka --- lfs/nasm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lfs/nasm b/lfs/nasm index 2eef65eae..daeb44535 100644 --- a/lfs/nasm +++ b/lfs/nasm @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2024 IPFire Team # +# Copyright (C) 2007-2025 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 2.16.03 +VER = 3.00 THISAPP = nasm-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 742cbf330341fde9f778d8ca13e8c06199f48796d47028ac973d39e3d9e434450cdfebe89f6ab248d372bdaeb0c88a25eb7153a39b66fc05e770523d4c9e11e9 +$(DL_FILE)_BLAKE2 = 9cfb8debdc4623cbd5dee2dbc8f4c52bedbf6bee6aa9165bf0abc31658e969ad54446e327ee3b65978396640dce5bb2dfe1ba2314afc0e5eb32b918d90d66a4e install : $(TARGET) @@ -71,8 +71,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && ./configure \ - --prefix=/usr - + --prefix=/usr cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP)