- 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
This commit is contained in:
Michael Vetter 2022-12-21 08:36:36 +00:00 committed by Git OBS Bridge
parent 3442d51055
commit c49dbf00a7
4 changed files with 74 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3caf6729c1073bf96629b57cee31eeb54f4f8129b01902c73428836550b30a3f
size 995732

3
nasm-2.16.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f05e2dc04bdb075487207d775770e9e508e250e63da8bf6c769976d66dd55249
size 1018716

View File

@ -1,3 +1,72 @@
-------------------------------------------------------------------
Wed Dec 21 08:27:34 UTC 2022 - Michael Vetter <mvetter@suse.com>
- 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 <dmueller@suse.com>

View File

@ -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