41 Commits

Author SHA256 Message Date
65033f0c01 - Update to 3.01:
* A new obj2 version of the obj output format, intended for use on OS/2. See section 9.5.
  * The condition after %if or %elif would be evaluated while output is suppressed
    after %exitrep or %exitmacro. Although no output would be generated in either case,
    assembly would fail if evaluating the expression triggered an error.
  * Fix encoding of TCVTROWPS2PHL, correct multiple AVX512-BF16 instructions' operand
    formats and typoed mnemonics.
  * The unofficial but obvious alternate form TEST reg,mem was not accepted by NASM 3.00;
    corrected.
  * For the obj output format, multiple GROUP directives can now be specified for the same
    group; the resulting group includes all sections specified in all GROUP directives for
    the group.
  * A new %selbits() preprocessor function. See section 5.4.19.
  * A new --bits option as convenience shorthand for --before "BITS ...". See section 2.1.31.
  * The options and pragmas for configuring external label mangling were inconsistent, the
    former using the spelling postfix and the latter suffix. Furthermore, these were also
    documented as directives in addition to pragmas. Implement the already documented
    directives (bracketed forms only) and allow both postfix and suffix in all cases.
    See section 2.1.28 and section 8.10.
  * Define additional permissive patterns and fix several opcode bugs.
  * Fix parsing of two-operand forms of x87 instructions.
  * Fix bogus "absolute address can not be RIP-relative" warning.
  * Hopefully fix building with OpenWatcom.
  * Generate a warning, promoted to error by default, on the use of o64 prefixes in
    16- or 32-bit mode. If demoted to a warning or suppressed the prefix is ignored, but
    likely will trigger subsequent, harder to debug, error messages.
  * More consistent handling of jump and call instructions with specified operand sizes.
  * Fix an operand size handling bug in the CMPXCHG instruction.

- Update to 3.00:

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=60
2025-10-30 07:56:48 +00:00
a82e8212f7 - Update to 2.16.03:
* Fix building from git in a separate directory from the source.
  * Remove some irrelevant files from the source distribution.
  * Make the documentation stronger that -O0 or -O1 are probably
    not what the user wants. See section 2.1.24.
  * Fix configure --enable-lto build option.
  * Update the included RPM .spec file.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=58
2024-04-18 05:47:04 +00:00
45b67fa54d 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
2024-04-05 08:20:40 +00:00
05c42896d6 - 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
2022-12-22 08:34:31 +00:00
d84a62d48a - 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
2022-12-21 08:36:36 +00:00
5e3a3624ee Accepting request 1043325 from home:dirkmueller:Factory
- add reproducible.patch to avoid use of __DATE__

OBS-URL: https://build.opensuse.org/request/show/1043325
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=51
2022-12-16 12:47:40 +00:00
7045c69382 Accepting request 843238 from home:dimstar:Factory
- Update to version 2.15.05:
  + Fix {%ifid $} and {%ifid $$} incorrectly being treated as true.
  + Add {--reproducible} option to suppress NASM version numbers
    and timestamps in output files. See {opt-reproducible}.

OBS-URL: https://build.opensuse.org/request/show/843238
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=49
2020-10-22 05:57:42 +00:00
6b030d85fe Accepting request 829042 from home:dirkmueller:branches:devel:tools:compiler
- update to 2.15.4:
  * More sensible handling of the case where one single-line macro
  definition will shadow another.
  * Add special preprocessor tokens \c{%*?} and \c{%*??} that expand
  like \c{%?} and \c{%??} in single-line macros only. See
  \k{selfref%*?}.
  * Fix SSE instructions not being recognized with an explicit memory
  operation size (e.g. \c{movsd qword [eax],xmm0}).
  * The \c{-L+} option no longer enables \c{-Lw}, which is mainly
  useful to debug NASM crashes. See \k{opt-L}.
  * The NASM-only RDOFF output format backend, which has been broken
  since at least NASM 2.14, has been disabled. The RDOFF tools are
  scheduled to be removed from the NASM distribution in NASM 2.16. If
  you have a concrete use case for RDOFF, please file a NASM bug report
  at \W{https://bugs.nasm.us/}\c{https://bugs.nasm.us/} as soon as
  possible. See \k{rdffmt}.

OBS-URL: https://build.opensuse.org/request/show/829042
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=48
2020-08-31 07:45:42 +00:00
47e0bbee27 Accepting request 821626 from home:AndreasStieger:branches:devel:tools:compiler
nasm 2.15.3

OBS-URL: https://build.opensuse.org/request/show/821626
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=46
2020-07-20 05:05:39 +00:00
659de1c2b4 Accepting request 818760 from home:AndreasStieger:branches:devel:tools:compiler
nasm 2.15.2

OBS-URL: https://build.opensuse.org/request/show/818760
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=44
2020-07-06 12:49:47 +00:00
07fb28cf8b Accepting request 752602 from home:dimstar:Factory
- Convert changes file to proper UTF-8 format: new
  version of RPM are getting strict in interpreting files.

       * Fix bug where ^ALIGN' would issue a full alignment datum instead

OBS-URL: https://build.opensuse.org/request/show/752602
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=42
2019-12-02 09:16:05 +00:00
5506fcc639 - Update to version 2.14.02:
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=40
2019-03-05 15:23:08 +00:00
5c8a8f6798 - Modernise spec file with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=37
2018-03-15 09:06:42 +00:00
ed1d06f431 Accepting request 587403 from home:adamm:branches:devel:tools:compiler
- New upstream version 2.13.03:
  * Add flags:
    AES, VAES, VPCLMULQDQ
  * Add VPCLMULQDQ instruction
  * elf: Add missing dwarf loc section
  * documentation updates
- 9f45a77f4.patch: fixes compilation with gcc8 (bsc#1084631)

OBS-URL: https://build.opensuse.org/request/show/587403
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=36
2018-03-15 08:50:47 +00:00
df22b292d0 Accepting request 569247 from home:adamm:branches:devel:tools:compiler
- New upstream version 2.13.02:
  * Fix generation of PEXTRW instruction.
  * Fix smartalign package which could trigger an error during
  optimization if the alignment code expanded too much due to
  optimization of the previous code.
  * Fix a case where negative value in TIMES directive causes
  panic instead of an error.
  * Fix the incorrect generation of VEX-encoded instruction
  when static mode decorators are specified on scalar instructions,
  losing the decorators as they require EVEX encoding.
  * Fix generation of dependency lists.
  * Fixes macro calls that have the wrong number of arguments
    (bsc#1073796, CVE-2017-17810)
  * Fixes Heap-based buffer overflow allows related to a strcpy
    in paste_tokens (bsc#1073798, CVE-2017-17811)
  * Fixes Heap-based buffer over-read in the function detoken()
    (bsc#1073799, CVE-2017-17812)
  * Fixes Use-after-free in the pp_list_one_macro function
    (bsc#1073803, CVE-2017-17813)
  * Fixes Use-after-free in do_directive
    (bsc#1073808, CVE-2017-17814)
  * Fixes Illegal address access in is_mmacro()
    (bsc#1073818, CVE-2017-17815)
  * Fixes Use-after-free in pp_getline
    (bsc#1073823, CVE-2017-17816)
  * Fixes Use-after-free in pp_verror
    (bsc#1073829, CVE-2017-17817)
  * Fixes Heap-based buffer over-read related to a while loop in
    paste_tokens (bsc#1073830, CVE-2017-17818)
  * Fixes Illegal address access in the function find_cc
    (bsc#1073832, CVE-2017-17819)
  * Fixes Use-after-free in pp_list_one_macro
    (bsc#1073846, CVE-2017-17820)
  * Fixes illegal address access in thefunction paste_tokens()
    (bsc#1058013, CVE-2017-14228)
- memory_fixes.patch: changes upstreamed and removed.

OBS-URL: https://build.opensuse.org/request/show/569247
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=34
2018-01-24 16:35:18 +00:00
c934dbf2ff Accepting request 512491 from home:adamm:branches:devel:tools:compiler
- memory_fixes.patch: Fix usage-after-free and buffer overflow
  bugs (bsc#1047925, bsc#1047936, CVE-2017-11111, CVE-2017-10686)
- Restrict %fdupes to manpage directory
- Enable unit tests in %check target

OBS-URL: https://build.opensuse.org/request/show/512491
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=31
2017-07-25 12:08:19 +00:00
2ef433e97a - Update to version 2.13.01:
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=29
2017-05-23 11:32:48 +00:00
aee1556bb1 Accepting request 407231 from home:pluskalm:branches:devel:tools:compiler
- Update to version 2.12.02:

OBS-URL: https://build.opensuse.org/request/show/407231
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=27
2016-07-08 11:34:00 +00:00
fbe97eef5b Accepting request 364133 from home:michel_mno:branches:devel:tools:compiler
- new nasm_change_unused.patch to avoid PowerPC build error

OBS-URL: https://build.opensuse.org/request/show/364133
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=25
2016-03-02 12:39:59 +00:00
78c3af065c Accepting request 363311 from home:pluskalm:branches:devel:tools:compiler
- Update to 2.12
- Changes for 2.11.09
  * Fix potential stack overwrite in macho32 backend.
  * Fix relocation records in macho64 backend.
  * Fix symbol lookup computation in macho64 backend.
  * Adjust .symtab and .rela.text sections alignments to 8 bytes 
    in elf64 backed.

OBS-URL: https://build.opensuse.org/request/show/363311
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=24
2016-03-01 08:42:59 +00:00
Stephan Kulow
75b41bc8ca Accepting request 287481 from home:pluskalm:branches:devel:tools:compiler
- Build doc package as noarch
- Use fdupes to remove duplicates
- Update to 2.11.08
- Changes for 2.11.07
  * Fix -MD option handling, which was rather broken in previous

OBS-URL: https://build.opensuse.org/request/show/287481
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=22
2015-02-24 08:52:18 +00:00
Thorsten Behrens
e9b554a297 Accepting request 287151 from home:pluskalm:branches:devel:tools:compiler
- Cleanup spec file with spec-cleaner
- Update project url
- Switch to .xz source
- Update to 2.11.06:

OBS-URL: https://build.opensuse.org/request/show/287151
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=21
2015-02-22 20:58:53 +00:00
Ismail Dönmez
46db81a603 Accepting request 184378 from home:elvigia:branches:devel:tools:compiler
- version 2.10.09 
* Add support for the Intel AVX2 instruction set.
* Add support for Bit Manipulation Instructions 1 and 2.
* Add support for Intel Transactional Synchronization Extensions (TSX).
* Add support for x32 ELF
* Add the ifunc macro package with integer functions, 
  currently only integer logarithms.
* Add support for RDSEED
* Support of AMD SVM instructions in 32 bit mode
* Add a bunch of AMD TBM instructions.
* 2 years of bugfixes

OBS-URL: https://build.opensuse.org/request/show/184378
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=19
2013-07-26 09:02:14 +00:00
Ismail Dönmez
2e4a4afffc Accepting request 170852 from home:namtrac:bugfix
- Add Source URL, see https://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/170852
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=17
2013-04-16 09:32:57 +00:00
Ismail Dönmez
3f7a9855da - Add explicit build dependency on makeinfo
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=15
2012-09-08 11:24:11 +00:00
Ismail Dönmez
72319f3b46 Accepting request 74098 from home:pjessen:branches:devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/74098
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=13
2011-06-18 14:21:41 +00:00
Ismail Dönmez
c44ce4dd5e Accepting request 64876 from home:pjessen:branches:devel:tools:compiler
Thanks!

OBS-URL: https://build.opensuse.org/request/show/64876
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=12
2011-03-22 16:44:08 +00:00
Stephan Kulow
a63c4c32dd osc copypac from project:home:pgajdos package:nasm revision:3
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=10
2011-01-10 09:45:32 +00:00
Stephan Kulow
638dd43247 Accepting request 56201 from home:coolo:branches:openSUSE:Factory
seems noone cares, so self accept

OBS-URL: https://build.opensuse.org/request/show/56201
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=9
2011-01-06 10:11:18 +00:00
OBS User autobuild
4f12b46956 Accepting request 47570 from devel:tools:compiler
Copy from devel:tools:compiler/nasm based on submit request 47570 from user coolo

OBS-URL: https://build.opensuse.org/request/show/47570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=16
2010-09-10 13:00:11 +00:00
OBS User autobuild
c13869eba5 Accepting request 33688 from devel:tools:compiler
Copy from devel:tools:compiler/nasm based on submit request 33688 from user oertel

OBS-URL: https://build.opensuse.org/request/show/33688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=12
2010-03-01 14:57:46 +00:00
OBS User autobuild
ec55719eb1 Accepting request 32745 from devel:tools:compiler
Copy from devel:tools:compiler/nasm based on submit request 32745 from user coolo

OBS-URL: https://build.opensuse.org/request/show/32745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=11
2010-02-18 15:43:01 +00:00
OBS User unknown
09559ea117 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=9 2009-01-14 23:41:50 +00:00
OBS User unknown
7140bfb473 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=8 2008-09-13 03:56:32 +00:00
OBS User unknown
8cd6d73d8e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=7 2008-06-25 19:34:16 +00:00
OBS User unknown
d19cbc0e9f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=6 2008-04-15 08:50:02 +00:00
OBS User unknown
1c39603298 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=5 2008-04-08 22:34:29 +00:00
OBS User unknown
0ae53bbf2f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=4 2008-01-23 22:17:50 +00:00
OBS User unknown
72d5a6ae7b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=3 2008-01-12 02:03:07 +00:00
OBS User unknown
6e63216483 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=2 2007-01-26 16:44:59 +00:00
OBS User unknown
39ca340d6a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nasm?expand=0&rev=1 2007-01-15 23:26:27 +00:00