Log message:
devel/nasm: Update to 3.01
Changelog:
Version 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.
Version 3.00
* Improve the documentation for building from source (appendix D).
* Add support for the APX and AVX10 instruction sets, and various
miscellaneous new instructions.
* Add new preprocessor functions: %b2hs(), %chr(), %depend(), %find(), %findi
(), %hs2b(), %null(), %ord(), %pathsearch(), and %realpath(). See section
5.4.
* New preprocessor directive %note to insert a note in the list file, without
issuing an external diagnosic. Unlike a comment, it is optionally
macro-expanded, see section 5.11.
* New preprocessor directive %iffile (and corresponding function %isfile())
to test for the existence of a file. See section 5.6.12.
* New preprocessor directive %ifdirective to test for the existence of a
preprocessor directive, assembly directive, or pseudo-instruction; see
section 5.6.10.
* Fix a number of invalid memory references (usually causing crashes) on
various invalid inputs.
* Fix multiple bugs in the handling of $??escaped symbols.
* The use of $ as a prefix for hexadecimal numbers has been deprecated, and
will now issue a warning. A new directive [DOLLARHEX] can be used to
disable this syntax entirely, see section 8.12.
* Fix the generation of segment selector references (mainly used in the obj
output format.)
* Fix crash in the obj backend when code was emitted into the default
segment, without any labels having been defined.
* Clean up the command-line help text (-h) and break it down into individual
topics, as the previous output was just too verbose to be practical as a
quick reference.
* The implicit DEFAULT ABS in 64-bit mode is deprecated and may be changed to
REL in the future. See section 8.2. A warning is now emitted for this
condition.
* It is now possible to set the REL/ABS default for memory accesses using FS:
or GS:, see section 8.2.
* The __?DEFAULT?__ standard macro now reflects the settings of the DEFAULT
directive. See section 6.4.
* The NASM preprocessor now assumes that an unknown directive starting with
%if or %elif is a misspelled or not yet implemented conditional directive,
and tries to match it with a corresponding %endif. See section 5.6.14.
* The masm macro package now defines a macro for x87 register syntax. See
section 7.5.
* A new macro package, vtern, to simplify generation of the control
immediates for the VPTERNLOGD and VPTERNLOGQ instructions. See section 7.6.
* A new command line option -LF allows overriding [LIST -] directives.
* In the obj output format, allow a segment in the FLAT pseudo-group to also
belong to another (real) group. Used on OS/2.
* Add a new build_version directive to the Mach-O backend. See section 9.9.6.
* Fix a spec violation in the generation of DWARF debugging information on
ELF.
* Response files can now be nested.
* Many documentation improvements.
Version 2.16.03
This is a source build machinery and documentation update only. There are no
functionality changes.
* 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.
Version 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 5.4.12.
* 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 5.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 5.4.14.
* Preprocessor: add a %hex() function, equivalent to %eval() except that it
producess hexadecimal values that are nevertheless valid NASM numeric
constants, see section 5.4.9.
* 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 9.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.
|
Log message:
nasm: updated to 2.15.05
Version 2.15.05
Correct %ifid $ and %ifid $$ being treated as true. See section 4.4.6.
Add --reproducible option to suppress NASM version numbers and timestamps in \
output files. See section 2.1.34.
Version 2.15.04
More sensible handling of the case where one single-line macro definition will \
shadow another. A warning will be issued, but the additional definition will be \
allowed. For the existing error case where both a parameterless and parametered \
macro are created, that warning is promoted to an error by default.
Add special preprocessor tokens %*? and %*?? that expand like %? and %?? in \
single-line macros only. See section 4.1.6.
Correct the encoding of the ENQCMDS and TILELOADT1 instructions.
Fix case where the COFF backend (the coff, win32 and win64 output formats) would \
add padding bytes in the middle of a section if a SECTION/SEGMENT directive was \
provided which repeated an ALIGN= attribute. This neither matched legacy \
behavior, other backends, or user expectations.
Fix SSE instructions not being recognized with an explicit memory operation size \
(e.g. movsd qword [eax],xmm0).
The -L+ option no longer enables -Lw, which is mainly useful to debug NASM \
crashes. See section 2.1.4.
Document long-standing hazards in the use of $ in Dx statements, see section 3.2.1.
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 https://bugs.nasm.us/ as soon as possible. See \
section 8.13.
|