head 1.8; access; symbols pkgsrc-2016Q4:1.7.0.60 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.58 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.56 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.54 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.52 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.50 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.48 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.46 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.44 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.42 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.40 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.38 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.36 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.34 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.32 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.30 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.28 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.26 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.24 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.22 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.20 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.18 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.16 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.14 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.12 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.10 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.8 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.6 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.4 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.2 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.6.0.6 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.4 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.2 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.5.0.4 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.2 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.4.0.6 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.4 pkgsrc-2008Q1:1.4.0.2 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.1.0.34 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.32 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.30 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.28 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.26 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.24 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.22 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.20 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.18 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.16 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.14 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.12 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.10 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.8 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.6 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.4 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.8 date 2017.02.14.08.05.30; author adam; state dead; branches; next 1.7; commitid cufJlzeaZLZysTFz; 1.7 date 2009.07.22.21.21.33; author wiz; state Exp; branches; next 1.6; 1.6 date 2008.11.05.12.48.35; author wiz; state Exp; branches; next 1.5; 1.5 date 2008.09.07.14.09.40; author wiz; state Exp; branches; next 1.4; 1.4 date 2008.03.12.21.16.12; author drochner; state Exp; branches; next 1.3; 1.3 date 2008.02.08.03.50.07; author bjs; state Exp; branches; next 1.2; 1.2 date 2008.01.28.05.38.20; author bjs; state Exp; branches; next 1.1; 1.1 date 2003.09.17.16.40.14; author jmmv; state Exp; branches; next ; desc @@ 1.8 log @Version 2.12.02 Fix preprocessor errors, especially %error and %warning, inside %if statements. Fix relative relocations in 32-bit Mach-O. More Codeview debug format fixes. If the MASM PTR keyword is encountered, issue a warning. This is much more likely to indicate a MASM-ism encountered in NASM than it is a valid label. This warning can be suppressed with -w-ptr, the [warning] directive (see section 2.1.24) or by the macro definition %idefine ptr %??. When an error or a warning comes from the expansion of a multi-line macro, display the file and line numbers for the expanded macros. Macros defined with .nolist do not get displayed. Add macros ilog2fw() and ilog2cw() to the ifunc macro package. @ text @$NetBSD: patch-ab,v 1.7 2009/07/22 21:21:33 wiz Exp $ --- doc/Makefile.in.orig 2009-07-20 05:22:29.000000000 +0000 +++ doc/Makefile.in @@@@ -8,7 +8,8 @@@@ prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ bindir = @@bindir@@ mandir = @@mandir@@ -docdir = $(prefix)/doc/nasm +docdir = $(prefix)/share/doc/nasm +htmldocdir = $(docdir)/html infodir = @@infodir@@ datarootdir = @@datarootdir@@ @@@@ -16,7 +17,7 @@@@ INSTALL = @@INSTALL@@ INSTALL_PROGRAM = @@INSTALL_PROGRAM@@ INSTALL_DATA = @@INSTALL_DATA@@ -PERL = perl +PERL = ${PERL5} MAKEINFO = makeinfo TEXI2DVI = texi2dvi TEXI2IPF = texi2ipf @@@@ -27,7 +28,7 @@@@ PSTOPDF = @@PSTOPDF@@ # BSD/MacOS X util PS2PDF = @@PS2PDF@@ # Part of GhostScript SRCS = nasmdoc.src inslist.src changes.src -OUT = info html nasmdoc.txt nasmdoc.ps nasmdoc.pdf +OUT = info html nasmdoc.txt nasmdoc.ps # nasmdoc.pdf # exports export srcdir @@@@ -96,7 +97,8 @@@@ spotless: clean install: all mkdir -p $(INSTALLROOT)$(infodir) - $(INSTALL_DATA) info/* $(INSTALLROOT)$(infodir) - mkdir -p $(INSTALLROOT)$(docdir)/html - $(INSTALL_DATA) html/* $(INSTALLROOT)$(docdir)/html - $(INSTALL_DATA) nasmdoc.ps nasmdoc.pdf nasmdoc.txt $(INSTALLROOT)$(docdir) + $(BSD_INSTALL_DATA) info/* $(INSTALLROOT)$(infodir) + $(BSD_INSTALL_DATA_DIR) $(INSTALLROOT)$(docdir) + $(BSD_INSTALL_DATA_DIR) $(INSTALLROOT)$(htmldocdir) + $(BSD_INSTALL_DATA) html/* $(INSTALLROOT)$(htmldocdir) + $(BSD_INSTALL_DATA) nasmdoc.ps nasmdoc.txt $(INSTALLROOT)$(docdir) @ 1.7 log @Update to 2.07. Set LICENSE. Remove code for gcc 2 in pkgsrc Makefile; it required gcc 3.0 anyway. cl-2.07 Version 2.07 NASM is now under the 2-clause BSD license. Fix the section type for the .strtab section in the elf64 output format. Fix the handling of COMMON directives in the obj output format. New ith and srec output formats; these are variants of the bin output format which output Intel hex and Motorola S-records, respectively. See ithfmt and srecfmt. rdf2ihx replaced with an enhanced rdf2bin, which can output binary, COM, Intel hex or Motorola S-records. The Windows installer now puts the NASM directory first in the PATH of the "NASM Shell". Revert the early expansion behavior of %+ to pre-2.06 behavior: %+ is only expanded late. Yet another Mach-O alignment fix. Don't delete the list file on errors. Also, include error and warning information in the list file. Support for 64-bit Mach-O output, see machofmt. Fix assert failure on certain operations that involve strings with high-bit bytes. cl-2.06 Version 2.06 This release is dedicated to the memory of Charles A. Crayne, long time NASM developer as well as moderator of comp.lang.asm.x86 and author of the book Serious Assembler. We miss you, Chuck. Support for indirect macro expansion (%[...]). See indmacro. %pop can now take an argument, see pushpop. The argument to %use is no longer macro-expanded. Use %[...] if macro expansion is desired. Support for thread-local storage in ELF32 and ELF64. See elftls. Fix crash on %ifmacro without an argument. Correct the arguments to the POPCNT instruction. Fix section alignment in the Mach-O format. Update AVX support to version 5 of the Intel specification. Fix the handling of accesses to context-local macros from higher levels in the context stack. Treat WAIT as a prefix rather than as an instruction, thereby allowing constructs like O16 FSAVE to work correctly. Support for structures with a non-zero base offset. See struc. Correctly handle preprocessor token concatenation (see concat) involving floating-point numbers. The PINSR series of instructions have been corrected and rationalized. Removed AMD SSE5, replaced with the new XOP/FMA4/CVT16 (rev 3.03) spec. The ELF backends no longer automatically generate a .comment section. Add additional "well-known" ELF sections with default attributes. See elfsect. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 2008/11/05 12:48:35 wiz Exp $ @ 1.6 log @Update to 2.05.01: Version 2.05.01 * Fix the -w/-W option parsing, which was broken in NASM 2.05. Version 2.05 * Fix redundant REX.W prefix on JMP reg64. * Make the behaviour of -O0 match NASM 0.98 legacy behavior. See section 2.1.22. * -w-user can be used to suppress the output of %warning directives. See section 2.1.24. * Fix bug where ALIGN would issue a full alignment datum instead of zero bytes. * Fix offsets in list files. * Fix %include inside multi-line macros or loops. * Fix error where NASM would generate a spurious warning on valid optimizations of immediate values. * Fix arguments to a number of the CVT SSE instructions. * Fix RIP-relative offsets when the instruction carries an immediate. * Massive overhaul of the ELF64 backend for spec compliance. * Fix the Geode PFRCPV and PFRSQRTV instruction. * Fix the SSE 4.2 CRC32 instruction. Version 2.04 * Sanitize macro handing in the %error directive. * New %warning directive to issue user-controlled warnings. * %error directives are now deferred to the final assembly phase. * New %fatal directive to immediately terminate assembly. * New %strcat directive to join quoted strings together. * New %use macro directive to support standard macro directives. See section 4.6.4. * Excess default parameters to %macro now issues a warning by default. See section 4.3. * Fix %ifn and %elifn. * Fix nested %else clauses. * Correct the handling of nested %reps. * New %unmacro directive to undeclare a multi-line macro. See section 4.3.10. * Builtin macro __PASS__ which expands to the current assembly pass. See section 4.11.9. * __utf16__ and __utf32__ operators to generate UTF-16 and UTF-32 strings. See section 3.4.5. * Fix bug in case-insensitive matching when compiled on platforms that don't use the configure script. Of the official release binaries, that only affected the OS/2 binary. * Support for x87 packed BCD constants. See section 3.4.7. * Correct the LTR and SLDT instructions in 64-bit mode. * Fix unnecessary REX.W prefix on indirect jumps in 64-bit mode. * Add AVX versions of the AES instructions (VAES...). * Fix the 256-bit FMA instructions. * Add 256-bit AVX stores per the latest AVX spec. * VIA XCRYPT instructions can now be written either with or without REP, apparently different versions of the VIA spec wrote them differently. * Add missing 64-bit MOVNTI instruction. * Fix the operand size of VMREAD and VMWRITE. * Numerous bug fixes, especially to the AES, AVX and VTX instructions. * The optimizer now always runs until it converges. It also runs even when disabled, but doesn't optimize. This allows most forward references to be resolved properly. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2008/09/07 14:09:40 wiz Exp $ d3 1 a3 1 --- doc/Makefile.in.orig 2008-10-29 17:57:33.000000000 +0000 d33 1 a33 2 @@@@ -95,7 +96,8 @@@@ spotless: clean -rm -f nasmdoc*.ps inslist.src d36 1 @ 1.5 log @Update to 2.03.01: 2.03.01 ------- * Fix buffer overflow in the listing module. * Fix the handling of hexadecimal escape codes in `...` strings. * The Postscript/PDF documentation has been reformatted. * The -F option now implies -g. 2.03 ---- * Add support for Intel AVX, CLMUL and FMA instructions, including YMM registers. * "dy", "resy" and "yword" for 32-byte operands. * Fix some SSE5 instructions. * Intel INVEPT, INVVPID and MOVBE instructions. * Fix checking for critical expressions when the optimizer is enabled. * Support the DWARF debugging format for ELF targets. * Fix optimizations of signed bytes. * Fix operation on bigendian machines. * Fix buffer overflow in the preprocessor. * SAFESEH support for Win32, IMAGEREL for Win64 (SEH). * %? and %?? to refer to the name of a macro itself. In particular, "%idefine keyword $%?" can be used to make a keyword "disappear". * New options for dependency generation: -MD, -MF, -MP, -MT, -MQ. * New preprocessor directives %pathsearch and %depend; INCBIN reimplemented as a macro. * %include now resolves macros in a sane manner. * %substr can now be used to get other than one-character substrings. * New type of character/string constants, using backquotes (`...`), which support C-style escape sequences. * %defstr and %idefstr to stringize macro definitions before creation. * Fix forward references used in EQU statements. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2008/03/12 21:16:12 drochner Exp $ d3 1 a3 1 --- doc/Makefile.in.orig 2008-06-17 06:31:16.000000000 +0200 d15 1 a15 1 @@@@ -16,13 +17,12 @@@@ INSTALL = @@INSTALL@@ a19 1 -MAKEINFO = makeinfo d21 1 d23 3 a25 1 PS2PDF = ps2pdf # Part of GhostScript d27 1 a27 1 SRCS = nasmdoc.src d33 1 a33 1 @@@@ -88,7 +88,8 @@@@ spotless: clean @ 1.4 log @update to 2.02 changes: -bugfixes -documentation improvements -ELF: Experimental support for DWARF debugging information -New compile date and time standard macros -%ifnum now returns true for negative numbers -Add support for the XSAVE instruction group @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- doc/Makefile.in.orig 2008-02-19 20:08:57.000000000 +0100 d26 2 a27 2 -OUT = nasm.info nasmdoc.ps nasmdoc.pdf +OUT = nasm.info nasmdoc.ps # nasmdoc.pdf d31 1 a31 1 @@@@ -79,7 +79,8 @@@@ spotless: clean @ 1.3 log @ Update package to install html documentation in the right place. While here, simplify things by using the BSD_INSTALL* variables. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2008/01/28 05:38:20 bjs Exp $ d3 1 a3 1 --- doc/Makefile.in.orig 2008-01-17 15:22:17.000000000 -0500 d31 2 a32 2 @@@@ -76,7 +76,8 @@@@ spotless: clean -rm -f nasmdoc*.ps @ 1.2 log @ Update to version 2.01. There are far too many changes to include here; please see the ChangeLog if interested. All patches except Makefile patches are no longer necessary. While here, add -Wno-signed-char to quiet these warnings. Also change INSTALLATION_DIRS to AUTO_MKDIRS, quiet pkglint by setting INFO_FILES=yes. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2003/09/17 16:40:14 jmmv Exp $ d11 1 a11 1 +htmldocdir = $(prefix)/share/doc/html/nasm d31 2 a32 1 @@@@ -77,6 +77,7 @@@@ spotless: clean d35 1 a35 1 $(INSTALL_DATA) info/* $(INSTALLROOT)$(infodir) d39 5 a43 4 + $(INSTALL_DATA_DIR) $(INSTALLROOT)$(docdir) + $(INSTALL_DATA_DIR) $(INSTALLROOT)$(htmldocdir) + $(INSTALL_DATA) html/* $(INSTALLROOT)$(htmldocdir) + $(INSTALL_DATA) nasmdoc.ps nasmdoc.txt $(INSTALLROOT)$(docdir) @ 1.1 log @Update to 0.98.37 (really, rename nasm-devel to nasm). This version is far more complete than 0.98, plus homogenizing the package in a single one will save us from conflicts during bulk builds (and during manual builds too). @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2003/06/23 21:13:12 seb Exp $ d3 1 a3 1 --- doc/Makefile.in.orig 2002-05-18 22:17:28.000000000 +0000 d5 1 a5 1 @@@@ -9,20 +9,20 @@@@ prefix = @@prefix@@ d13 1 d15 1 a15 1 INSTALL = @@INSTALL@@ d23 1 a23 1 PS2PDF = ps2pdf -dOptimize=true # Part of GhostScript d29 3 a31 3 all: $(OUT) @@@@ -73,6 +73,7 @@@@ spotless: clean @