From 9e0c7316084e79fdcf3b03bedbade17ddc9c51a739b52fa127be33a78cc7716e Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 2 Nov 2007 00:42:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yasm?expand=0&rev=3 --- yasm-0.4.0.tar.gz | 3 -- yasm-0.6.2.tar.bz2 | 3 ++ yasm-declaration.diff | 10 ----- yasm-genmacro.patch | 18 -------- yasm-overflow.patch | 11 ----- yasm.changes | 67 ++++++++++++++++++++++++++++ yasm.spec | 100 ++++++++++++++++++++++++++++++++---------- 7 files changed, 147 insertions(+), 65 deletions(-) delete mode 100644 yasm-0.4.0.tar.gz create mode 100644 yasm-0.6.2.tar.bz2 delete mode 100644 yasm-declaration.diff delete mode 100644 yasm-genmacro.patch delete mode 100644 yasm-overflow.patch diff --git a/yasm-0.4.0.tar.gz b/yasm-0.4.0.tar.gz deleted file mode 100644 index 690f034..0000000 --- a/yasm-0.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12223aeccc3901a317db22b3b27dbca40560dca1bea45ec4ae48ea3f73a04eec -size 1116987 diff --git a/yasm-0.6.2.tar.bz2 b/yasm-0.6.2.tar.bz2 new file mode 100644 index 0000000..92b317a --- /dev/null +++ b/yasm-0.6.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e421c65c43687835bd6bfb773a097ade39afa0b257de0249958d830cba50116 +size 1047872 diff --git a/yasm-declaration.diff b/yasm-declaration.diff deleted file mode 100644 index 29ec42e..0000000 --- a/yasm-declaration.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- check/check_run.c.ORG 2004-10-31 04:55:56.000000000 +0100 -+++ check/check_run.c 2005-07-04 13:25:26.000000000 +0200 -@@ -59,6 +59,7 @@ - #include "check_impl.h" - #include "check_msg.h" - #include "check_log.h" -+#include - - #ifndef USE_FORKWAITMSG - int nofork_exit_status; diff --git a/yasm-genmacro.patch b/yasm-genmacro.patch deleted file mode 100644 index 77796aa..0000000 --- a/yasm-genmacro.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: yasm-0.4.0/modules/preprocs/nasm/genmacro.c -=================================================================== ---- yasm-0.4.0.orig/modules/preprocs/nasm/genmacro.c -+++ yasm-0.4.0/modules/preprocs/nasm/genmacro.c -@@ -102,10 +102,13 @@ main(int argc, char *argv[]) - while (*strp == ' ' || *strp == '\t') - strp++; - len = strlen(strp); -+ if (len) - while (strp[len-1] == ' ' || strp[len-1] == '\t' || - strp[len-1] == '\n') { - strp[len-1] = '\0'; - len--; -+ if(len == 0) -+ break; - } - - /* skip blank lines */ diff --git a/yasm-overflow.patch b/yasm-overflow.patch deleted file mode 100644 index dbdedcc..0000000 --- a/yasm-overflow.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- yasm-0.4.0/libyasm/expr.c.xx 2005-04-27 15:31:30.192943601 +0200 -+++ yasm-0.4.0/libyasm/expr.c 2005-04-27 15:32:19.374893145 +0200 -@@ -1191,7 +1191,7 @@ - void - yasm_expr_print(const yasm_expr *e, FILE *f) - { -- char opstr[6]; -+ char opstr[8]; - int i; - - if (!e) { diff --git a/yasm.changes b/yasm.changes index 9f1839f..003a429 100644 --- a/yasm.changes +++ b/yasm.changes @@ -1,3 +1,70 @@ +------------------------------------------------------------------- +Tue Oct 30 18:20:51 CET 2007 - uli@suse.de + +- update -> 0.6.2; new features since 0.4.0: + * AMD SSE4a and SSE5 instruction support. + * AMD LZCNT, POPCNT, EXTRQ, INSERTQ, MOVNTSD, and MOVNTSS instruction + support. + * 16-bit float value (IEEE-754r half precision) support (desirable for + SSE5). + * Added "oword", "do", and "reso" aliases for "dqword", "ddq", "resdq". + * Added easier RIP-relative addressing with rel/abs modifiers and + "default" directive to set default rel/abs mode (see AMD64 for details). + * CPP preprocessor. Contributed by Paul Barker + * GAS local labels (1:, 1f, 1b) support. Noticed by Jung Lee + * GAS .org fill parameter support. Noticed by Jung Lee and Xiaoming Mo + * Command line aliases for -d (-D) and -u (-U) for increased NASM + command line compatibility. Requested by Mike Frysinger + * SSE4.1 and SSE4.2 instruction support. Noticed by arkon@ragestorm.net + * Support for .set directive in GAS parser. Contributed by Sebastian + D'Alessandro + * -E and -s command line options, similar to NASM options of the same + names (redirect errors to file and stdout, respectively). Suggested by: + pingved@gmail.com + * -Wsize-override option, to turn on warnings for duplicated size + overrides such as "dword dword" or "word word". Suggested by: + pingved@gmail.com + * Reconcile generated prefix order with GAS, to suggested Intel ordering + of SEG, ADDR, DATA, LOCKREP (AMD doesn't care). + * Fix test failure in Mach-O object format. Reported by many (e.g. + #105), first by Christophe Malvasio + * end_prolog macro equivalent to end_prologue (for Win64 structured + exception handling). Suggested by Brian Gladman + * Allow RIP-relative cross-section references in bin output. + * Mach-O custom sections: #102 + * Brand-new "virtual" multi-pass optimizer that automatically generates + much smaller code for jumps and immediates. + * Support for Mach-O object format used in MacOS X, including both the + 32-bit (x86) and 64-bit (AMD64) versions (contributed by Henryk + Richter). + * Support for structured exception handling on Win64. + * Support for RDOFF2 (.rdf) object format. + * Support for STRICT keyword in NASM syntax. + * Rewritten NASM and GAS parsers (now recursive descent rather than + Bison-based). + * Yasm no longer defaults to reading from standard input if no files are + specified; standard input can be specified with "-". + * Support for arithmetic on single-character constants. + * Support for OUTPUT_FORMAT as an alias for YASM_OBJFMT. + * Support for CodeView? 8.0 source debugging (as used by Visual Studio + 2005). + * Fixed -I support to properly handle relative paths (now the search + pattern is essentially identical to most C compilers). This change is + backwards incompatible (to both NASM and earlier Yasm versions), but is + much more consistent. + * Standard macros that provide version information: __YASM_MAJOR__, + __YASM_MINOR__, __YASM_SUBMINOR__, __YASM_BUILD__, __YASM_VERSION_ID__ + and __YASM_VER__. + * Aliases for AMD64 object formats: "win64" and "elf64" (these + automatically set the machine to "amd64"). + * "x64" alias for Win64 object format (for easier use with Visual + Studio). + * DWARF2 source debugging (enable with "-g dwarf2"). + * GAS parser good enough to take GCC output for both AMD64 and 32-bit + x86 (including DWARF2 debug information). + * Specifying "amd64" as the machine (or using a 64-bit object format) + automatically sets BITS 64. + ------------------------------------------------------------------- Tue May 29 13:19:48 CEST 2007 - pth@suse.de diff --git a/yasm.spec b/yasm.spec index bc15888..84bd59f 100644 --- a/yasm.spec +++ b/yasm.spec @@ -1,5 +1,5 @@ # -# spec file for package yasm (Version 0.4.0) +# spec file for package yasm (Version 0.6.2) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,19 +11,16 @@ # norootforbuild Name: yasm -URL: http://www.tortall.net/projects/yasm/ -License: BSD License and BSD-like +Url: http://www.tortall.net/projects/yasm/ +License: BSD 3-Clause Group: Development/Languages/Other -Autoreqprov: on -Version: 0.4.0 -Release: 54 +AutoReqProv: on +Version: 0.6.2 +Release: 1 Summary: YASM is a complete rewrite of the NASM assembler -Source: yasm-%{version}.tar.gz -Patch0: yasm-genmacro.patch -Patch1: yasm-overflow.patch -Patch2: yasm-declaration.diff +Source: yasm-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build - +BuildRequires: python %description YASM is a complete rewrite of the NASM assembler. It is designed from @@ -41,7 +38,7 @@ Authors: %package devel Summary: YASM development package Group: Development/Languages/Other -Autoreqprov: on +AutoReqProv: on Requires: %{name} = %{version} %description devel @@ -56,13 +53,10 @@ Authors: %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 %build export CFLAGS="%{optflags}" -%configure --prefix=/usr --disable-static +%configure --prefix=/usr --with-gnu-ld --enable-python make %{?jobs:-j%jobs} %install @@ -79,11 +73,8 @@ rm -rf %buildroot %files %defattr(-,root,root) -%doc ABOUT-NLS AUTHORS Artistic.txt BSD.txt COPYING ChangeLog GNU_GPL-2.0 -%doc GNU_LGPL-2.0 INSTALL NEWS README -%_libdir/*.la -%_libdir/lib*.so.* -%_libdir/yasm +%doc ABOUT-NLS AUTHORS Artistic.txt BSD.txt COPYING GNU_GPL-2.0 +%doc GNU_LGPL-2.0 /usr/bin/* %_mandir/man7/* %_mandir/man1/* @@ -91,9 +82,72 @@ rm -rf %buildroot %files devel %defattr(-,root,root) /usr/include/* -%_libdir/lib*.so - +%_libdir/lib*.a %changelog +* Tue Oct 30 2007 - uli@suse.de +- update -> 0.6.2; new features since 0.4.0: + * AMD SSE4a and SSE5 instruction support. + * AMD LZCNT, POPCNT, EXTRQ, INSERTQ, MOVNTSD, and MOVNTSS instruction + support. + * 16-bit float value (IEEE-754r half precision) support (desirable for + SSE5). + * Added "oword", "do", and "reso" aliases for "dqword", "ddq", "resdq". + * Added easier RIP-relative addressing with rel/abs modifiers and + "default" directive to set default rel/abs mode (see AMD64 for details). + * CPP preprocessor. Contributed by Paul Barker + * GAS local labels (1:, 1f, 1b) support. Noticed by Jung Lee + * GAS .org fill parameter support. Noticed by Jung Lee and Xiaoming Mo + * Command line aliases for -d (-D) and -u (-U) for increased NASM + command line compatibility. Requested by Mike Frysinger + * SSE4.1 and SSE4.2 instruction support. Noticed by arkon@ragestorm.net + * Support for .set directive in GAS parser. Contributed by Sebastian + D'Alessandro + * -E and -s command line options, similar to NASM options of the same + names (redirect errors to file and stdout, respectively). Suggested by: + pingved@gmail.com + * -Wsize-override option, to turn on warnings for duplicated size + overrides such as "dword dword" or "word word". Suggested by: + pingved@gmail.com + * Reconcile generated prefix order with GAS, to suggested Intel ordering + of SEG, ADDR, DATA, LOCKREP (AMD doesn't care). + * Fix test failure in Mach-O object format. Reported by many (e.g. + [#105]), first by Christophe Malvasio + * end_prolog macro equivalent to end_prologue (for Win64 structured + exception handling). Suggested by Brian Gladman + * Allow RIP-relative cross-section references in bin output. + * Mach-O custom sections: #102 + * Brand-new "virtual" multi-pass optimizer that automatically generates + much smaller code for jumps and immediates. + * Support for Mach-O object format used in MacOS X, including both the + 32-bit (x86) and 64-bit (AMD64) versions (contributed by Henryk + Richter). + * Support for structured exception handling on Win64. + * Support for RDOFF2 (.rdf) object format. + * Support for STRICT keyword in NASM syntax. + * Rewritten NASM and GAS parsers (now recursive descent rather than + Bison-based). + * Yasm no longer defaults to reading from standard input if no files are + specified; standard input can be specified with "-". + * Support for arithmetic on single-character constants. + * Support for OUTPUT_FORMAT as an alias for YASM_OBJFMT. + * Support for CodeView? 8.0 source debugging (as used by Visual Studio + 2005). + * Fixed -I support to properly handle relative paths (now the search + pattern is essentially identical to most C compilers). This change is + backwards incompatible (to both NASM and earlier Yasm versions), but is + much more consistent. + * Standard macros that provide version information: __YASM_MAJOR__, + __YASM_MINOR__, __YASM_SUBMINOR__, __YASM_BUILD__, __YASM_VERSION_ID__ + and __YASM_VER__. + * Aliases for AMD64 object formats: "win64" and "elf64" (these + automatically set the machine to "amd64"). + * "x64" alias for Win64 object format (for easier use with Visual + Studio). + * DWARF2 source debugging (enable with "-g dwarf2"). + * GAS parser good enough to take GCC output for both AMD64 and 32-bit + x86 (including DWARF2 debug information). + * Specifying "amd64" as the machine (or using a 64-bit object format) + automatically sets BITS 64. * Tue May 29 2007 - pth@suse.de - Split off headers and .so symlinks to -devel subpackage. * Wed Jan 25 2006 - mls@suse.de