From bac8e6b02efa4215bfe46e066eca1f70d2ba39768d238dfc59242d77f719e1d0 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 5 Apr 2024 08:20:40 +0000 Subject: [PATCH] Accepting request 1165391 from home:jubalh:branches:devel:tools:compiler - Update to 2.16.02: * Fix building from the source distribution in a separate directory from the source. * Fix a number of issues when building from source, mostly involving configure or dependency generation. In particular, more aggressively avoid cross-compilation problems on Unix/Linux systems automatically invoking WINE. We could end up invoking WINE even when we didn't want to, making configure think it was running native when in fact cross-compiling. * Hopefully fix compiling with the latest versions of MSVC/nmake. * Windows host: add embedded manifest file. Without a manifest, Windows applications force a fixed PATH_MAX limit to any pathname; this is unnecessary. * Add support VEX-encoded SM4-NI instructions. * Add support for VEX-encoded SM3-NI instructions. * Add support for VEX-encoded SHA512-NI instructions. * PTWRITE opcode corrected (F3 prefix required.) * Disassembler: the SMAP instructions are NP; notably the prefixed versions of CLAC are ERETU/ERETS. * Add support for Flexible Return and Exception Delivery (FRED): the LKGS, ERETS and ERETU instructions. * Fix external references to segments in the obj (OMF) and possibly other output formats. * Always support up to 8 characters, i.e. 64 bits, in a string-to-numeric conversion. * Preprocessor: add %map() function to expand a macro from a list of arguments, see section 4.4.7. * Preprocessor: allow the user to specify the desired radix for an evaluated parameter. It doesn't make any direct difference, but can be nice for debugging or turning into strings. OBS-URL: https://build.opensuse.org/request/show/1165391 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=56 --- nasm-2.16.01.tar.xz | 3 --- nasm-2.16.02.tar.xz | 3 +++ nasm.changes | 61 +++++++++++++++++++++++++++++++++++++++++++++ nasm.spec | 4 +-- 4 files changed, 66 insertions(+), 5 deletions(-) delete mode 100644 nasm-2.16.01.tar.xz create mode 100644 nasm-2.16.02.tar.xz diff --git a/nasm-2.16.01.tar.xz b/nasm-2.16.01.tar.xz deleted file mode 100644 index e15bce8..0000000 --- a/nasm-2.16.01.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558 -size 1017732 diff --git a/nasm-2.16.02.tar.xz b/nasm-2.16.02.tar.xz new file mode 100644 index 0000000..848a4d2 --- /dev/null +++ b/nasm-2.16.02.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e1b942ea88f22edae89659e15be26fa027eae0747f51413540f52d4eac4790d +size 1044824 diff --git a/nasm.changes b/nasm.changes index cfdd855..196fa94 100644 --- a/nasm.changes +++ b/nasm.changes @@ -1,3 +1,64 @@ +------------------------------------------------------------------- +Fri Apr 5 05:48:27 UTC 2024 - Michael Vetter + +- Update to 2.16.02: + * Fix building from the source distribution in a separate directory + from the source. + * Fix a number of issues when building from source, mostly + involving configure or dependency generation. + In particular, more aggressively avoid cross-compilation problems + on Unix/Linux systems automatically invoking WINE. We could end + up invoking WINE even when we didn't want to, making configure + think it was running native when in fact cross-compiling. + * Hopefully fix compiling with the latest versions of MSVC/nmake. + * Windows host: add embedded manifest file. Without a manifest, + Windows applications force a fixed PATH_MAX limit to any + pathname; this is unnecessary. + * Add support VEX-encoded SM4-NI instructions. + * Add support for VEX-encoded SM3-NI instructions. + * Add support for VEX-encoded SHA512-NI instructions. + * PTWRITE opcode corrected (F3 prefix required.) + * Disassembler: the SMAP instructions are NP; notably the prefixed + versions of CLAC are ERETU/ERETS. + * Add support for Flexible Return and Exception Delivery (FRED): + the LKGS, ERETS and ERETU instructions. + * Fix external references to segments in the obj (OMF) and + possibly other output formats. + * Always support up to 8 characters, i.e. 64 bits, in a + string-to-numeric conversion. + * Preprocessor: add %map() function to expand a macro from + a list of arguments, see section 4.4.7. + * Preprocessor: allow the user to specify the desired radix + for an evaluated parameter. It doesn't make any direct difference, + but can be nice for debugging or turning into strings. + See the = modifier in section 4.2.1. + * Update documentation: __USE_package__ is now __?USE_package?__. + * Documentation: correct a minor problem in the expression + grammar for Dx statements, see section 3.2.1. + * Preprocessor: correctly handle empty %rep blocks. + * Preprocessor: add options for a base prefix to %num(), see section 4.4.8. + * Preprocessor: add a %hex() function, equivalent to %eval() + except that it producess hexadecimal values that are nevertheless + valid NASM numeric constants, see section 4.4.5. + * Preprocessor: fix the parameter number in error messages (should be 1-based, + like %num references to multi-line macro arguments.) + * Documentation: be more clear than the bin format is simply a linker built + into NASM. See section 8.1. + * Adjust the LOCK prefix warning for XCHG. + LOCK XCHG reg,mem would issue a warning for being unlockable, which is + incorrect. In this case the reg,mem encoding is simply an alias for + the mem,reg encoding. However, XCHG is always locked, so create a new + warning (-w+prefix-lock-xchg) to explicitly flag a user-specified LOCK XCHG; + default off. Future versions of NASM may remove the LOCK prefix when + optimization is enabled. + * Fix broken dependency-list generation. + * Add optional warnings for specific relocation types (-w+reloc-*, + see appendix A), default off. + * Some target environments may have specific restrictions on what + kinds of relocations are possible or allowed. + * Error out on certain bad syntax in Dx statements, such as + db 1 2. See section 3.2.1. + ------------------------------------------------------------------- Thu Dec 22 08:33:27 UTC 2022 - Michael Vetter diff --git a/nasm.spec b/nasm.spec index c6f4c33..c4fa3de 100644 --- a/nasm.spec +++ b/nasm.spec @@ -1,7 +1,7 @@ # # spec file for package nasm # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: nasm -Version: 2.16.01 +Version: 2.16.02 Release: 0 Summary: Netwide Assembler (An x86 Assembler) License: BSD-2-Clause