From c49dbf00a794afd9ed9a88db1081461fbee6d3c59ddb953fc0a07dc06eab400a Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 21 Dec 2022 08:36:36 +0000 Subject: [PATCH 1/2] - Update to 2.16: * Support for the rdf format has been discontinued and all the RDOFF utilities has been removed. * The --reproducible option now leaves the filename field in the COFF object format blank. This was always rather useless since it is only 18 characters long; as such debug formats have to carry their own filename information anyway. * Fix handling of MASM-syntax reserved memory (e.g. dw ?) when used in structure definitions. * The preprocessor now supports functions, which can be less verbose and more convenient than the equivalent code implemented using directives. See ppfunc. * Fix the handling of %00 in the preprocessor. * Fix incorrect handling of path names affecting error messages, dependency generation, and debug format output. * Support for the RDOFF output format and the RDOFF tools have been removed. The RDOFF tools had already been broken since at least NASM 2.14. For flat code the ELF output format recommended; for segmented code the obj (OMF) output format. * New facility: preprocessor functions. Preprocessor functions, which are expanded similarly to single-line macros, can greatly simplify code that in the past would have required a lengthy list of directives and intermediate macros. See ppfunc. * Single-line macros can now declare parameters (using a && prefix) that creates a quoted string, but does not requote an already quoted string. See define. * Instruction table updated per public information available as of November 2022. * All warnings in the preprocessor have now been assigned warning classes. See warnings. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=53 --- nasm-2.15.05.tar.xz | 3 -- nasm-2.16.tar.xz | 3 ++ nasm.changes | 69 +++++++++++++++++++++++++++++++++++++++++++++ nasm.spec | 4 +-- 4 files changed, 74 insertions(+), 5 deletions(-) delete mode 100644 nasm-2.15.05.tar.xz create mode 100644 nasm-2.16.tar.xz diff --git a/nasm-2.15.05.tar.xz b/nasm-2.15.05.tar.xz deleted file mode 100644 index 91dca28..0000000 --- a/nasm-2.15.05.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3caf6729c1073bf96629b57cee31eeb54f4f8129b01902c73428836550b30a3f -size 995732 diff --git a/nasm-2.16.tar.xz b/nasm-2.16.tar.xz new file mode 100644 index 0000000..433666c --- /dev/null +++ b/nasm-2.16.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f05e2dc04bdb075487207d775770e9e508e250e63da8bf6c769976d66dd55249 +size 1018716 diff --git a/nasm.changes b/nasm.changes index fcfeb4c..dcaf0da 100644 --- a/nasm.changes +++ b/nasm.changes @@ -1,3 +1,72 @@ +------------------------------------------------------------------- +Wed Dec 21 08:27:34 UTC 2022 - Michael Vetter + +- Update to 2.16: + * Support for the rdf format has been discontinued and all the + RDOFF utilities has been removed. + * The --reproducible option now leaves the filename field in the + COFF object format blank. This was always rather useless since it is + only 18 characters long; as such debug formats have to carry their own + filename information anyway. + * Fix handling of MASM-syntax reserved memory (e.g. dw ?) when + used in structure definitions. + * The preprocessor now supports functions, which can be less verbose + and more convenient than the equivalent code implemented using + directives. See ppfunc. + * Fix the handling of %00 in the preprocessor. + * Fix incorrect handling of path names affecting error messages, + dependency generation, and debug format output. + * Support for the RDOFF output format and the RDOFF tools have been + removed. The RDOFF tools had already been broken since at least NASM + 2.14. For flat code the ELF output format recommended; for segmented + code the obj (OMF) output format. + * New facility: preprocessor functions. Preprocessor functions, which + are expanded similarly to single-line macros, can greatly simplify + code that in the past would have required a lengthy list of directives + and intermediate macros. See ppfunc. + * Single-line macros can now declare parameters (using a && + prefix) that creates a quoted string, but does not requote an + already quoted string. See define. + * Instruction table updated per public information available as of + November 2022. + * All warnings in the preprocessor have now been assigned warning + classes. See warnings. + * Fix the invalid use of RELA-type relocations instead of + REL-type relocations when generating DWARF debug information for + the elf32 output format. + * Fix the handling at in istruc when the structure contains + local labels. See istruc. + * When assembling with --reproducible, don't encode the filename + in the COFF header for the coff}, win32 or win64 output + formats. The COFF header only has space for an 18-character filename, + which makes this field rather useless in the first place. Debug output + data, if enabled, is not affected. + * Fix incorrect size calculation when using MASM syntax for non-byte + reservations (e.g. dw ?.) + * Allow forcing an instruction in 64-bit mode to have a (possibly + redundant) REX prefix, using the syntax rex as a prefix. + * Add a vex prefix to enforce VEX (AVX) encoding of an + instruction, either using the 2- or 3-byte VEX prefixes. + * The CPU directive has been augmented to allow control of + generation of VEX (AVX) versus EVEX (AVX-512) instruction formats, see + CPU. + * Some recent instructions that previously have been only available + using EVEX encodings are now also encodable using VEX (AVX) + encodings. For backwards compatibility these encodings are not enabled + by default, but can be generated either via an explicit vex + prefix or by specifying either CPU LATEVEX or CPU NOEVEX; see + CPU. + * Document the already existing unimacro directive. See unmacro. + * Fix a code range generation bug in the DWARF debug format + (incorrect information in the DW_AT_high_pc field) for the ELF + output formats. This bug happened to cancel out with a bug in older + versions of the GNU binutils linker, but breaks with other linkers and + updated or other linkers that expect the spec to be followed. + * Fix segment symbols with addends, e.g. jmp _TEXT+10h:0 in + output formats that support segment relocations, e.g. the obj + format. + * Fix various crashes and hangs on invalid input + ------------------------------------------------------------------- Fri Dec 16 12:36:14 UTC 2022 - Dirk Müller diff --git a/nasm.spec b/nasm.spec index 61f82b9..a2c20e6 100644 --- a/nasm.spec +++ b/nasm.spec @@ -17,7 +17,7 @@ Name: nasm -Version: 2.15.05 +Version: 2.16 Release: 0 Summary: Netwide Assembler (An x86 Assembler) License: BSD-2-Clause @@ -40,7 +40,7 @@ several binary formats, including ELF, a.out, Win32, and OS/2. %make_build all %install -%make_install rdf_install +%make_install %fdupes %{buildroot}%{_mandir} %check From dff231d4a9827391e4297a04d47d32f3c318dfdb73f2a265e47757e95a735c9a Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 22 Dec 2022 08:34:31 +0000 Subject: [PATCH 2/2] - Update to 2.16.01: * Fix the creation of the table of contents in the HTML version of the documentation. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=54 --- nasm-2.16.01.tar.xz | 3 +++ nasm-2.16.tar.xz | 3 --- nasm.changes | 7 +++++++ nasm.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 nasm-2.16.01.tar.xz delete mode 100644 nasm-2.16.tar.xz diff --git a/nasm-2.16.01.tar.xz b/nasm-2.16.01.tar.xz new file mode 100644 index 0000000..e15bce8 --- /dev/null +++ b/nasm-2.16.01.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558 +size 1017732 diff --git a/nasm-2.16.tar.xz b/nasm-2.16.tar.xz deleted file mode 100644 index 433666c..0000000 --- a/nasm-2.16.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f05e2dc04bdb075487207d775770e9e508e250e63da8bf6c769976d66dd55249 -size 1018716 diff --git a/nasm.changes b/nasm.changes index dcaf0da..cfdd855 100644 --- a/nasm.changes +++ b/nasm.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 22 08:33:27 UTC 2022 - Michael Vetter + +- Update to 2.16.01: + * Fix the creation of the table of contents in the HTML version + of the documentation. + ------------------------------------------------------------------- Wed Dec 21 08:27:34 UTC 2022 - Michael Vetter diff --git a/nasm.spec b/nasm.spec index a2c20e6..c6f4c33 100644 --- a/nasm.spec +++ b/nasm.spec @@ -17,7 +17,7 @@ Name: nasm -Version: 2.16 +Version: 2.16.01 Release: 0 Summary: Netwide Assembler (An x86 Assembler) License: BSD-2-Clause