Accepting request 818997 from devel:tools:compiler

OBS-URL: https://build.opensuse.org/request/show/818997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2020-07-09 15:49:02 +00:00 committed by Git OBS Bridge
commit a3fc7b3650
4 changed files with 80 additions and 32 deletions

View File

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

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

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

View File

@ -1,3 +1,71 @@
-------------------------------------------------------------------
Sat Jul 4 16:22:43 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 2.15.2:
* Fix the handling of macro parameter ranges (%{:}), including
with brace-enclosed original arguments
- includes changes from 2.15.01:
* Add instructions for Intel Control Flow Enforcement Technology
- includes changes from 2.15:
* The comparison and booleanizing operators can now be used in
any expression context, not just %if
* New operator ? ... :.
* Signed shift operators <<< and >>>
* The MASM DUP syntax for data definitions is now supported,
in a somewhat enhanced form
* Warn for strange legacy behavior regarding empty arguments in
multi-line macro expansion, but try to match legacy behavior in
most cases. Legacy behavior can be disabled with the directive
%pragma preproc sane_empty_expansion
* A much more sensible limit to expression evaluation depth.
The previously defined limit would rarely trigger before NASM
died with a stack overrun error on most systems
* The state of warnings can now be saved and restored via the
[WARNING PUSH] and [WARNING POP] directives
* The sectalign on|off switch does not affect an explicit directive
* Fixed 'mismatch in operand sizes' error in the MOVDDUP,
CMPXCHG8B and CMPXCHG16B instructions.
* Removed obsolete gnu-elf-extensions warning about 8- and 16-bit
relocation generation
* Added group aliases for all prefixed warnings
* Added implicitly sized versions of the K... instructions,
which allows the K... instructions to be specified without a
size suffix as long as the operands are sized
* Added -L option for additional listing information
* Added some warnings for obsolete instructions for a specified CPU.
* Deprecated -hf and -y options. Use -h instead
* Made DWARF as the default debug format for ELF
* Added %pragma list options... to set or clear listing options
* Allowed immediate syntax for LEA instruction (ignore operand
size completely)
* Added limited functionality MASM compatibility package
* Add single-line macros aliases using %defalias or %idefalias.
These behave like a kind of "symbolic links" for single-line
macros
* Added support for stringify, nostrip, evaluating, and greedy
single-line macro arguments
* Unused single-line macro arguments no longer need to have a
specified name
* Added conditional comma operator %,
* Changed private namespace from __foo__ to __?foo?__, so a user
namespace starting from underscore is now clean from symbols.
For backwards compatibility, the previous names are defined as
aliases
* Added support of ELF weak symbols and external references
* Changed the behavior of the EXTERN keyword and introduced
REQUIRED keyword
* Added %ifusable and %ifusing directives
* Made various performance improvements and stability fixes in
macro preprocessor engine
* Improved NASM error handling and cleaned up error messages
- includes changes from 2.14.03:
* Suppress nuisance "label changed during code generation"
messages after a real error
* Add support for the merge and strings attributes on ELF sections
* Add support for the note, preinit_array, init_array, and
fini_array sections type in ELF
* Handle more than 32,633 sections in ELF
-------------------------------------------------------------------
Sat Nov 30 15:07:56 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package nasm
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,13 @@
Name: nasm
Version: 2.14.02
Version: 2.15.02
Release: 0
Summary: Netwide Assembler (An x86 Assembler)
License: BSD-2-Clause
Group: Development/Languages/Other
URL: http://www.nasm.us/
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.xz
URL: https://www.nasm.us/
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/%{name}-%{version}.tar.xz
BuildRequires: fdupes
%description
@ -36,39 +36,19 @@ several binary formats, including ELF, a.out, Win32, and OS/2.
%build
%configure \
--enable-lto
make %{?_smp_mflags} all
%make_build all
%install
%make_install rdf_install
%fdupes %{buildroot}%{_mandir}
%check
make %{?_smp_mflags} test
%make_build test
%files
%license LICENSE
%doc AUTHORS CHANGES ChangeLog README
%{_bindir}/ldrdf
%{_bindir}/nasm
%{_bindir}/ndisasm
%{_bindir}/rdf2bin
%{_bindir}/rdf2com
%{_bindir}/rdf2ihx
%{_bindir}/rdf2ith
%{_bindir}/rdf2srec
%{_bindir}/rdfdump
%{_bindir}/rdflib
%{_bindir}/rdx
%{_mandir}/man1/ldrdf.1%{?ext_man}
%{_mandir}/man1/nasm.1%{?ext_man}
%{_mandir}/man1/ndisasm.1%{?ext_man}
%{_mandir}/man1/rdf2bin.1%{?ext_man}
%{_mandir}/man1/rdf2com.1%{?ext_man}
%{_mandir}/man1/rdf2ihx.1%{?ext_man}
%{_mandir}/man1/rdf2ith.1%{?ext_man}
%{_mandir}/man1/rdf2srec.1%{?ext_man}
%{_mandir}/man1/rdfdump.1%{?ext_man}
%{_mandir}/man1/rdflib.1%{?ext_man}
%{_mandir}/man1/rdx.1%{?ext_man}
%doc AUTHORS CHANGES ChangeLog README.md
%{_bindir}/*
%{_mandir}/man1/*.1%{?ext_man}
%changelog