From 0109bf325b4518c62e3c44debacf29b1e9e3b1a63ddad5b2a76ad6c24e90ae6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 22 Mar 2011 16:44:08 +0000 Subject: [PATCH 1/2] 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 --- nasm-2.07.tar.bz2 | 3 --- nasm-2.09.07.tar.bz2 | 3 +++ nasm.changes | 6 ++++++ nasm.spec | 11 ++++++----- 4 files changed, 15 insertions(+), 8 deletions(-) delete mode 100644 nasm-2.07.tar.bz2 create mode 100644 nasm-2.09.07.tar.bz2 diff --git a/nasm-2.07.tar.bz2 b/nasm-2.07.tar.bz2 deleted file mode 100644 index afb9f10..0000000 --- a/nasm-2.07.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ac70ee451c73d742c9ff830502e5f8b1f648b2abffa8fd00944243283ba8e87c -size 779934 diff --git a/nasm-2.09.07.tar.bz2 b/nasm-2.09.07.tar.bz2 new file mode 100644 index 0000000..2c0a95d --- /dev/null +++ b/nasm-2.09.07.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1eabfd1069cb5ec84c326a0aaa35f9bf20556db78d6b63aff1270c9319be5898 +size 801843 diff --git a/nasm.changes b/nasm.changes index fd1dd07..f42aba3 100644 --- a/nasm.changes +++ b/nasm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 22 17:13:54 CET 2011 - per@computer.org + +upgrade to 2.09.07. Lots changes & fixes since version 2.07, +see http://www.nasm.us/doc/nasmdocc.html + ------------------------------------------------------------------- Fri Dec 17 10:50:19 CET 2010 - pgajdos@suse.cz diff --git a/nasm.spec b/nasm.spec index e0ae314..fb4f87b 100644 --- a/nasm.spec +++ b/nasm.spec @@ -1,7 +1,7 @@ # -# spec file for package nasm (Version 2.07) +# spec file for package nasm (Version 2.09.07) # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,8 +23,8 @@ Url: http://nasm.sourceforge.net/ License: BSD 2-clause Group: Development/Languages/Other AutoReqProv: on -Version: 2.07 -Release: 6 +Version: 2.09.07 +Release: 7 Summary: Netwide Assembler (An x86 Assembler) Source: nasm-%version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -108,7 +108,8 @@ Authors: %build touch -r ./ver.c ./ver.c.stamp -sed -i -e s@__DATE__@__TIMESTAMP__@ ./ver.c +TS=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') +sed -i "s/__DATE__/\"$TS\"/g" ver.c touch -r ./ver.c.stamp ./ver.c %configure make all From 705e140dc9092237e36180a919848730f28e0f33a3115a98fe279d4713ff92c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sat, 18 Jun 2011 14:21:41 +0000 Subject: [PATCH 2/2] 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 --- nasm-2.09.07.tar.bz2 | 3 -- nasm-2.09.08.tar.bz2 | 3 ++ nasm.changes | 124 +++++++++++++++++++++++++++++++++++++++++-- nasm.spec | 4 +- 4 files changed, 126 insertions(+), 8 deletions(-) delete mode 100644 nasm-2.09.07.tar.bz2 create mode 100644 nasm-2.09.08.tar.bz2 diff --git a/nasm-2.09.07.tar.bz2 b/nasm-2.09.07.tar.bz2 deleted file mode 100644 index 2c0a95d..0000000 --- a/nasm-2.09.07.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1eabfd1069cb5ec84c326a0aaa35f9bf20556db78d6b63aff1270c9319be5898 -size 801843 diff --git a/nasm-2.09.08.tar.bz2 b/nasm-2.09.08.tar.bz2 new file mode 100644 index 0000000..cb2026a --- /dev/null +++ b/nasm-2.09.08.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2fb2e794a699d6d3c4e99dc20c22dec72b59dab2335a9d33fc32b158ceb194ad +size 803265 diff --git a/nasm.changes b/nasm.changes index f42aba3..ab50234 100644 --- a/nasm.changes +++ b/nasm.changes @@ -1,8 +1,126 @@ ------------------------------------------------------------------- -Tue Mar 22 17:13:54 CET 2011 - per@computer.org +Tue Jun 16 17:13:54 CET 2011 - per@computer.org -upgrade to 2.09.07. Lots changes & fixes since version 2.07, -see http://www.nasm.us/doc/nasmdocc.html +upgrade to 2.09.08. Lots of changes & fixes since version 2.07: + +C.1.1 Version 2.09.08 + + * Fix __OUTPUT_FORMAT__ assignment when output driver alias is used. For example when -f elf + is used __OUTPUT_FORMAT__ must be set to elf, if -f elf32 is used __OUTPUT_FORMAT__ must be + assigned accordingly, i.e. to elf32. The rule applies to all output driver aliases. See + section 4.11.6. + +C.1.2 Version 2.09.07 + + * Fix attempts to close same file several times when -a option is used. + * Fixes for VEXTRACTF128, VMASKMOVPS encoding. + +C.1.3 Version 2.09.06 + + * Fix missed section attribute initialization in bin output target. + +C.1.4 Version 2.09.05 + + * Fix arguments encoding for VPEXTRW instruction. + * Remove invalid form of VPEXTRW instruction. + * Add VLDDQU as alias for VLDQQU to match specification. + +C.1.5 Version 2.09.04 + + * Fix incorrect labels offset for VEX intructions. + * Eliminate bogus warning on implicit operand size override. + * %if term could not handle 64 bit numbers. + * The COFF backend was limiting relocations number to 16 bits even if in real there were a way + more relocations. + +C.1.6 Version 2.09.03 + + * Print %macro name inside %rep blocks on error. + * Fix preprocessor expansion behaviour. It happened sometime too early and sometime simply + wrong. Move behaviour back to the origins (down to NASM 2.05.01). + * Fix unitialized data dereference on OMF output format. + * Issue warning on unterminated %{ construct. + * Fix for documentation typo. + +C.1.7 Version 2.09.02 + + * Fix reversed tokens when %deftok produces more than one output token. + * Fix segmentation fault on disassembling some VEX instructions. + * Missing %endif did not always cause error. + * Fix typo in documentation. + * Compound context local preprocessor single line macro identifiers were not expanded + early enough and as result lead to unresolved symbols. + +C.1.8 Version 2.09.01 + + * Fix NULL dereference on missed %deftok second parameter. + * Fix NULL dereference on invalid %substr parameters. + +C.1.9 Version 2.09 + + * Fixed assignment the magnitude of %rep counter. It is limited to 62 bits now. + * Fixed NULL dereference if argument of %strlen resolves to whitespace. For example if + nonexistent macro parameter is used. + * %ifenv, %elifenv, %ifnenv, and %elifnenv directives introduced. See section 4.4.9. + * Fixed NULL dereference if environment variable is missed. + * Updates of new AVX v7 Intel instructions. + * PUSH imm32 is now officially documented. + * Fix for encoding the LFS, LGS and LSS in 64-bit mode. + * Fixes for compatibility with OpenWatcom compiler and DOS 8.3 file format limitation. + * Macros parameters range expansion introduced. See section 4.3.4. + * Backward compatibility on expanging of local sigle macros restored. + * 8 bit relocations for elf and bin output formats are introduced. + * Short intersegment jumps are permitted now. + * An alignment more than 64 bytes are allowed for win32, win64 output formats. + * SECTALIGN directive introduced. See section 4.11.13. + * nojmp option introduced in smartalign package. See section 5.2. + * Short aliases win, elf and macho for output formats are introduced. Each stands for + win32, elf32 and macho32 accordingly. + * Faster handling of missing directives implemented. + * Various small improvements in documentation. + * No hang anymore if unable to open malloc.log file. + * The environments without vsnprintf function are able to build nasm again. + * AMD LWP instructions updated. + * Tighten EA checks. We warn a user if there overflow in EA addressing. + * Make -Ox the default optimization level. For the legacy behavior, specify -O0 explicitly. + See section 2.1.22. + * Environment variables read with %! or tested with %ifenv can now contain non-identifier + characters if surrounded by quotes. See section 4.10.2. + * Add a new standard macro package %use fp for floating-point convenience macros. See + section 5.3. + +C.1.10 Version 2.08.02 + + * Fix crash under certain circumstances when using the %+ operator. + +C.1.11 Version 2.08.01 + + * Fix the %use statement, which was broken in 2.08. + +C.1.12 Version 2.08 + + * A number of enhancements/fixes in macros area. + * Support for converting strings to tokens. See section 4.1.9. + * Fuzzy operand size logic introduced. + * Fix COFF stack overrun on too long export identifiers. + * Fix Macho-O alignment bug. + * Fix crashes with -fwin32 on file with many exports. + * Fix stack overrun for too long [DEBUG id]. + * Fix incorrect sbyte usage in IMUL (hit only if optimization flag passed). + * Append ending token for .stabs records in the ELF output format. + * New NSIS script which uses ModernUI and MultiUser approach. + * Visual Studio 2008 NASM integration (rules file). + * Warn a user if a constant is too long (and as result will be stripped). + * The obsoleted pre-XOP AMD SSE5 instruction set which was never actualized was removed. + * Fix stack overrun on too long error file name passed from the command line. + * Bind symbols to the .text section by default (ie in case if SECTION directive was omitted) in + the ELF output format. + * Fix sync points array index wrapping. + * A few fixes for FMA4 and XOP instruction templates. + * Add AMD Lightweight Profiling (LWP) instructions. + * Fix the offset for %arg in 64-bit mode. + * An undefined local macro (%$) no longer matches a global macro with the same name. + * Fix NULL dereference on too long local labels. ------------------------------------------------------------------- Fri Dec 17 10:50:19 CET 2010 - pgajdos@suse.cz diff --git a/nasm.spec b/nasm.spec index fb4f87b..8c5edae 100644 --- a/nasm.spec +++ b/nasm.spec @@ -23,8 +23,8 @@ Url: http://nasm.sourceforge.net/ License: BSD 2-clause Group: Development/Languages/Other AutoReqProv: on -Version: 2.09.07 -Release: 7 +Version: 2.09.08 +Release: 8 Summary: Netwide Assembler (An x86 Assembler) Source: nasm-%version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build