Commit graph

47 commits

Author SHA1 Message Date
wiz
6bc5c4c9ee 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.
2008-11-05 12:48:35 +00:00
wiz
68d7bcb8a3 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.
2008-09-07 14:09:40 +00:00
tron
e1d3c2f146 Add a patch from the "nasm" GIT repository to fix a crash triggered by
certain assembler files. This closes the security hole reported in SA30594
(which is IMHO highly debatable).
2008-06-17 14:06:25 +00:00
drochner
47ea083e62 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
2008-03-12 21:16:12 +00:00
bjs
50b333ff72 Update package to install html documentation in the right place.
While here, simplify things by using the BSD_INSTALL* variables.

Bump PKGREVISION.
2008-02-08 03:50:07 +00:00
bjs
128c05296a 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.
2008-01-28 05:38:20 +00:00
rillig
39ed527492 Patch files start with the CVS Id. 2008-01-05 21:49:42 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
jmmv
04bfca8d21 Ah well, GCC_VERSION is only defined within gcc code. Use __GNUC__ and
__GNUC_MINOR__ instead.  Still checking for >= 3.4.0 though.
2007-01-08 13:36:28 +00:00
jmmv
d5ce3660e1 Only use __builtin_ctzl if it is available; minimum gcc version number taken
from http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00828.html, so I guess it
is right.

Should fix PR pkg/35380 by tron@, which reports build failure under
NetBSD 3.1/i386 (it worked in -current, though).
2007-01-08 13:21:43 +00:00
jmmv
5080918643 Add support to generate Mach-O objects (for Intel Macs). Code taken from
the CVS repository, so it will be in the next public release of nasm.
Bump PKGREVISION to 3.
2007-01-06 15:11:57 +00:00
joerg
7f279c69f3 DESTDIR support. 2006-11-02 17:59:37 +00:00
jlam
dcc3f5e7b7 * Move info file entries into the PLIST.
* Honor PKGINFODIR and EMACS_INFOPREFIX.
2006-03-31 05:37:08 +00:00
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
reed
736af1f32f Use PKGMANDIR instead of "man" for the INSTALLATION_DIRS. 2005-12-27 18:10:58 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
adrianp
c461ed0f27 - Bump to nb1 for recent security issue
- https://bugzilla.redhat.com/beta/show_bug.cgi?id=152962
- https://bugzilla.redhat.com/beta/show_bug.cgi?id=152963
- https://www.redhat.com/archives/fedora-cvs-commits/2005-April/msg00159.html
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1194
2005-05-05 20:12:46 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
xtraeme
52cbdffa36 Use BUILDLINK_TRANSFORM instead of SUBST_CLASSES to remove
compiler flags, thanks wiz.
2005-03-08 20:46:49 +00:00
xtraeme
e07a21923d Don't use -std=c99 when CC_VERSION < gcc-3 (because it's an unimplemented
option), this should fix PR pkg/29533.
2005-03-08 18:51:06 +00:00
grant
4d557f4d7a be less restrictive about the gcc3 requirement, >=3.0 is fine. 2005-03-05 09:28:14 +00:00
drochner
7a23d20b75 require gcc-3.3, should fix problem seen on 1.6 bulk build 2005-03-03 16:36:46 +00:00
tron
25207402bc Remove obsolete patch files. 2005-02-25 13:41:24 +00:00
adam
1d37f6b67b Changes 0.98.39:
* fix buffer overflow
* fix outas86's .bss handling
* "make spotless" no longer deletes config.h.in.
* %(el)if(n)idn insensitivity to string quotes difference (#809300).
* (nasm.c) __OUTPUT_FORMAT__ changed to string value instead of symbol.
2005-02-25 11:42:17 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
adrianp
f3ea10cc7e Bump to nb1 for recent security issue:
http://sourceforge.net/mailarchive/forum.php?thread_id=6166881&forum_id=4978
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1287
2005-01-06 13:06:10 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
seb
5fe14087be Remove info files entries from PLIST. 2004-02-16 12:53:30 +00:00
grant
f49bdea710 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:24:28 +00:00
jlam
580a53de35 bl3ify 2004-01-05 11:42:20 +00:00
wiz
afad701ca7 Update to 0.98.38:
* Add Makefile for 16-bit DOS binaries under OpenWatcom, and modify
  mkdep.pl to be able to generate completely pathless dependencies, as
  required by OpenWatcom wmake (it supports path searches, but not
  explicit paths.)
* Fix the STR instruction.
* Fix the ELF output format, which was broken under certain
  circumstances due to the addition of stabs support.
* Quick-fix Borland format debug-info for -f obj
* Fix for %rep with no arguments (#560568)
* Fix concatenation of preprocessor function call  (#794686)
* Fix long label causes coredump (#677841)
* Use autoheader as well as autoconf to keep configure from generating
  ridiculously long command lines.
* Make sure that all of the formats which support debugging output
  actually will suppress debugging output when -g not specified.
2003-10-05 09:45:13 +00:00
jmmv
6fbafc115e 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).
2003-09-17 16:40:12 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
salo
074f101f5b HOMEPAGE has changed. 2003-01-13 23:40:47 +00:00
jlam
5a3db67300 buildlink1 -> buildlink2 2002-08-26 06:56:50 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
9c3006f7e0 Mark as USE_BUILDLINK_ONLY. 2001-06-26 02:47:50 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
sakamoto
0edc11c6ac Adapt this package to NetBSD. 1999-07-05 07:21:57 +00:00
sakamoto
f2f47e7dd3 Import FreeBSD's "nasm" port:
General-purpose multi-platform x86 assembler
1999-07-05 07:17:34 +00:00