pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/nasm



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Feb  1 12:40:17 UTC 2023

Modified Files:
        pkgsrc/devel/nasm: Makefile PLIST distinfo

Log Message:
nasm: updated to 2.16.01

Version 2.16.01

This is a documentation update release only.

Fix the creation of the table of contents in the HTML version of the documentation.

Version 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 section 4.4.

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 section 4.4.

Single-line macros can now declare parameters (using a && prefix) that creates a quoted string, but does not requote an already quoted string. See section 4.2.1.

Instruction table updated per public information available as of November 2022.

All warnings in the preprocessor have now been assigned warning classes. See appendix A.

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 section 5.9.2.

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 section 7.11.

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 section 7.11.

Document the already existing %unimacro directive. See section 4.5.12.

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.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/devel/nasm/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/nasm/PLIST
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/nasm/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/nasm/Makefile
diff -u pkgsrc/devel/nasm/Makefile:1.69 pkgsrc/devel/nasm/Makefile:1.70
--- pkgsrc/devel/nasm/Makefile:1.69     Tue Jun 28 11:31:49 2022
+++ pkgsrc/devel/nasm/Makefile  Wed Feb  1 12:40:16 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.69 2022/06/28 11:31:49 wiz Exp $
+# $NetBSD: Makefile,v 1.70 2023/02/01 12:40:16 adam Exp $
 
-DISTNAME=      nasm-2.15.05
-PKGREVISION=   2
+DISTNAME=      nasm-2.16.01
 CATEGORIES=    devel lang
 MASTER_SITES=  http://www.nasm.us/pub/nasm/releasebuilds/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/devel/nasm/PLIST
diff -u pkgsrc/devel/nasm/PLIST:1.13 pkgsrc/devel/nasm/PLIST:1.14
--- pkgsrc/devel/nasm/PLIST:1.13        Sat Aug  8 18:35:10 2020
+++ pkgsrc/devel/nasm/PLIST     Wed Feb  1 12:40:16 2023
@@ -1,26 +1,8 @@
-@comment $NetBSD: PLIST,v 1.13 2020/08/08 18:35:10 nia Exp $
-bin/ldrdf
+@comment $NetBSD: PLIST,v 1.14 2023/02/01 12:40:16 adam Exp $
 bin/nasm
 bin/ndisasm
-bin/rdf2bin
-bin/rdf2com
-bin/rdf2ihx
-bin/rdf2ith
-bin/rdf2srec
-bin/rdfdump
-bin/rdflib
-bin/rdx
-man/man1/ldrdf.1
 man/man1/nasm.1
 man/man1/ndisasm.1
-man/man1/rdf2bin.1
-man/man1/rdf2com.1
-man/man1/rdf2ihx.1
-man/man1/rdf2ith.1
-man/man1/rdf2srec.1
-man/man1/rdfdump.1
-man/man1/rdflib.1
-man/man1/rdx.1
 share/doc/nasm/html/local.css
 share/doc/nasm/html/nasmdo10.html
 share/doc/nasm/html/nasmdo11.html
@@ -42,6 +24,7 @@ share/doc/nasm/html/nasmdocb.html
 share/doc/nasm/html/nasmdocc.html
 share/doc/nasm/html/nasmdocd.html
 share/doc/nasm/html/nasmdoce.html
+share/doc/nasm/html/nasmdocf.html
 share/doc/nasm/html/nasmdoci.html
 share/doc/nasm/html/nasmlogw.png
 share/doc/nasm/nasmdoc.txt

Index: pkgsrc/devel/nasm/distinfo
diff -u pkgsrc/devel/nasm/distinfo:1.36 pkgsrc/devel/nasm/distinfo:1.37
--- pkgsrc/devel/nasm/distinfo:1.36     Tue Oct 26 10:15:42 2021
+++ pkgsrc/devel/nasm/distinfo  Wed Feb  1 12:40:16 2023
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.36 2021/10/26 10:15:42 nia Exp $
+$NetBSD: distinfo,v 1.37 2023/02/01 12:40:16 adam Exp $
 
-BLAKE2s (nasm-2.15.05.tar.xz) = c8d733a2c17b6712b8c90994d6d0811ad6a5dac3104600cd2ff60366f0361fc7
-SHA512 (nasm-2.15.05.tar.xz) = 512f90a2584f1c5811429274b97c64a2cedf37b9fdeffb1bcd0ea64afd9ecc19a2d7877ca8f1e05393aa324153fc9f39ea51dacbf8d25a7d5a2d7728c925dba7
-Size (nasm-2.15.05.tar.xz) = 995732 bytes
+BLAKE2s (nasm-2.16.01.tar.xz) = 4340eea2e650fa4e03f9286c1c91cf3aa9bff8d9156637b4e66130ed39beeffc
+SHA512 (nasm-2.16.01.tar.xz) = 51fccb5639ce019d9c423c0f279750ffbd74c64cd41dd3b185d1aa1a1aaed79c5d3cd8d4bebbc13ee249a375ed27457ea2abde1a4dbb24d354598fffd1254833
+Size (nasm-2.16.01.tar.xz) = 1017732 bytes
 SHA1 (patch-Makefile.in) = 30f8292c622e86e870427be0ca530ccb8dc3feaa
 SHA1 (patch-doc_Makefile.in) = 0baf4cb8ce01403fbe93b3168d7bc00472cbcb61



Home | Main Index | Thread Index | Old Index