Accepting request 587403 from home:adamm:branches:devel:tools:compiler
- New upstream version 2.13.03: * Add flags: AES, VAES, VPCLMULQDQ * Add VPCLMULQDQ instruction * elf: Add missing dwarf loc section * documentation updates - 9f45a77f4.patch: fixes compilation with gcc8 (bsc#1084631) OBS-URL: https://build.opensuse.org/request/show/587403 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=36
This commit is contained in:
parent
0059ea0f8b
commit
f9b3546123
41
9f45a77f4.patch
Normal file
41
9f45a77f4.patch
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
commit 9f45a77f46829e666b35530939b9237cf978d4dc
|
||||||
|
Author: Cyrill Gorcunov <gorcunov@gmail.com>
|
||||||
|
Date: Sat Feb 10 00:40:46 2018 +0300
|
||||||
|
|
||||||
|
nasmlib: Drop pure_func attrib from seg_alloc
|
||||||
|
|
||||||
|
It not only reads static variable but writes it back as well.
|
||||||
|
|
||||||
|
https://bugzilla.nasm.us/show_bug.cgi?id=3392461
|
||||||
|
|
||||||
|
Reported-by: Michael Šimáček <msimacek@redhat.com>
|
||||||
|
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
|
||||||
|
|
||||||
|
commit 5eb1838b4d3752fd863d19442943983a2a5ee87c
|
||||||
|
Author: Cyrill Gorcunov <gorcunov@gmail.com>
|
||||||
|
Date: Sat Feb 10 00:33:41 2018 +0300
|
||||||
|
|
||||||
|
nasmlib: Drop unused seg_init
|
||||||
|
|
||||||
|
The helper has been eliminated in 2c4a4d5810d0a59b033a07876a2648ef5d4c2859
|
||||||
|
|
||||||
|
https://bugzilla.nasm.us/show_bug.cgi?id=3392461
|
||||||
|
|
||||||
|
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
|
||||||
|
Index: nasm-2.13.03/include/nasmlib.h
|
||||||
|
===================================================================
|
||||||
|
--- nasm-2.13.03.orig/include/nasmlib.h
|
||||||
|
+++ nasm-2.13.03/include/nasmlib.h
|
||||||
|
@@ -188,11 +188,9 @@ int64_t readnum(char *str, bool *error);
|
||||||
|
int64_t readstrnum(char *str, int length, bool *warn);
|
||||||
|
|
||||||
|
/*
|
||||||
|
- * seg_init: Initialise the segment-number allocator.
|
||||||
|
* seg_alloc: allocate a hitherto unused segment number.
|
||||||
|
*/
|
||||||
|
-void pure_func seg_init(void);
|
||||||
|
-int32_t pure_func seg_alloc(void);
|
||||||
|
+int32_t seg_alloc(void);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* many output formats will be able to make use of this: a standard
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8ac3235f49a6838ff7a8d7ef7c19a4430d0deecc0c2d3e3e237b5e9f53291757
|
|
||||||
size 805744
|
|
3
nasm-2.13.03.tar.xz
Normal file
3
nasm-2.13.03.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:812ecfb0dcbc5bd409aaa8f61c7de94c5b8752a7b00c632883d15b2ed6452573
|
||||||
|
size 806636
|
11
nasm.changes
11
nasm.changes
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 15 06:49:13 UTC 2018 - adam.majer@suse.de
|
||||||
|
|
||||||
|
- New upstream version 2.13.03:
|
||||||
|
* Add flags:
|
||||||
|
AES, VAES, VPCLMULQDQ
|
||||||
|
* Add VPCLMULQDQ instruction
|
||||||
|
* elf: Add missing dwarf loc section
|
||||||
|
* documentation updates
|
||||||
|
- 9f45a77f4.patch: fixes compilation with gcc8 (bsc#1084631)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 24 13:09:39 UTC 2018 - adam.majer@suse.de
|
Wed Jan 24 13:09:39 UTC 2018 - adam.majer@suse.de
|
||||||
|
|
||||||
|
@ -17,13 +17,14 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: nasm
|
Name: nasm
|
||||||
Version: 2.13.02
|
Version: 2.13.03
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Netwide Assembler (An x86 Assembler)
|
Summary: Netwide Assembler (An x86 Assembler)
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Url: http://www.nasm.us/
|
Url: http://www.nasm.us/
|
||||||
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.xz
|
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.xz
|
||||||
|
Patch1: 9f45a77f4.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -32,12 +33,14 @@ several binary formats, including ELF, a.out, Win32, and OS/2.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
touch -r ./version.h ./version.h.stamp
|
touch -r ./version.h ./version.h.stamp
|
||||||
TS=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
TS=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
||||||
sed -i "s/__DATE__/\"$TS\"/g" version.h
|
sed -i "s/__DATE__/\"$TS\"/g" version.h
|
||||||
touch -r ./version.h.stamp ./version.h
|
touch -r ./version.h.stamp ./version.h
|
||||||
|
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags} all
|
make %{?_smp_mflags} all
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user