Accepting request 363311 from home:pluskalm:branches:devel:tools:compiler
- Update to 2.12 - Changes for 2.11.09 * Fix potential stack overwrite in macho32 backend. * Fix relocation records in macho64 backend. * Fix symbol lookup computation in macho64 backend. * Adjust .symtab and .rela.text sections alignments to 8 bytes in elf64 backed. OBS-URL: https://build.opensuse.org/request/show/363311 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=24
This commit is contained in:
parent
252e182ad1
commit
8e5d4b0466
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c99467c7072211c550d147640d8a1a0aa4d636d4d8cf849f3bf4317d900a1f7f
|
|
||||||
size 764872
|
|
3
nasm-2.12.tar.xz
Normal file
3
nasm-2.12.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f34cc1e984ed619b8f9e96cea632e3c6fdea5e039069dbcb63397b7bd004f5a8
|
||||||
|
size 774808
|
37
nasm.changes
37
nasm.changes
@ -1,3 +1,40 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 1 07:48:37 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to 2.12
|
||||||
|
* Major fixes to the macho backend (section 7.8); earlier
|
||||||
|
versions would produce invalid symbols and relocations on a
|
||||||
|
regular basis.
|
||||||
|
* Support for thread-local storage in Mach-O.
|
||||||
|
* Support for arbitrary sections in Mach-O.
|
||||||
|
* Fix wrong negative size treated as a big positive value passed
|
||||||
|
into backend causing NASM to crash.
|
||||||
|
* Fix handling of zero-extending unsigned relocations, we have
|
||||||
|
been printing wrong message and forgot to assign segment with
|
||||||
|
predefined value before passing it into output format.
|
||||||
|
* Fix potential write of oversized (with size greater than
|
||||||
|
allowed in output format) relative relocations.
|
||||||
|
* Portability fixes for building NASM with LLVM compiler.
|
||||||
|
* Add support of Codeview version 8 (cv8) debug format for win32
|
||||||
|
and win64 formats in the COFF backend, see section 7.5.3.
|
||||||
|
* Allow 64-bit outputs in 16/32-bit only backends. Unsigned
|
||||||
|
64-bit relocations are zero-extended from 32-bits with a
|
||||||
|
warning (suppressible via -w-zext-reloc); signed 64-bit
|
||||||
|
relocations are an arror.
|
||||||
|
* Line numbers in list files now correspond to the lines in the
|
||||||
|
source files, instead of simply being sequential.
|
||||||
|
* There is now an official 64-bit (x64 a.k.a. x86-64) build for
|
||||||
|
Windows.
|
||||||
|
- Changes for 2.11.09
|
||||||
|
* Fix potential stack overwrite in macho32 backend.
|
||||||
|
* Fix relocation records in macho64 backend.
|
||||||
|
* Fix symbol lookup computation in macho64 backend.
|
||||||
|
* Adjust .symtab and .rela.text sections alignments to 8 bytes
|
||||||
|
in elf64 backed.
|
||||||
|
* Fix section length computation in bin backend which leaded in
|
||||||
|
incorrect relocation records.
|
||||||
|
- Update build dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 24 08:36:37 UTC 2015 - mpluskal@suse.com
|
Tue Feb 24 08:36:37 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
40
nasm.spec
40
nasm.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package nasm
|
# spec file for package nasm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,15 +17,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: nasm
|
Name: nasm
|
||||||
Version: 2.11.08
|
Version: 2.12
|
||||||
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
|
||||||
|
BuildRequires: asciidoc
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: groff
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
|
BuildRequires: xmlto
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -56,8 +59,7 @@ sed -i "s/__DATE__/\"$TS\"/g" ver.c
|
|||||||
touch -r ./ver.c.stamp ./ver.c
|
touch -r ./ver.c.stamp ./ver.c
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags} all
|
make %{?_smp_mflags} all
|
||||||
|
make %{?_smp_mflags} -C doc html info nasmdoc.ps nasmdoc.txt
|
||||||
make -C doc %{?_smp_mflags} html info nasmdoc.ps nasmdoc.txt
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -m 755 %{buildroot}%{_prefix}/bin
|
install -d -m 755 %{buildroot}%{_prefix}/bin
|
||||||
@ -75,22 +77,42 @@ install -m 644 rdoff/README rdoff/doc/* \
|
|||||||
install -m 644 doc/html/* %{buildroot}%{_docdir}/nasm/html
|
install -m 644 doc/html/* %{buildroot}%{_docdir}/nasm/html
|
||||||
install -m 644 ndisasm.1 nasm.1 rdoff/*.1 %{buildroot}%{_mandir}/man1
|
install -m 644 ndisasm.1 nasm.1 rdoff/*.1 %{buildroot}%{_mandir}/man1
|
||||||
install -m 644 doc/info/* %{buildroot}%{_infodir}
|
install -m 644 doc/info/* %{buildroot}%{_infodir}
|
||||||
%fdupes -s %{buildroot}%/*
|
%fdupes -s %{buildroot}%
|
||||||
|
|
||||||
%post doc
|
%post doc
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%postun doc
|
%preun doc
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/*
|
%{_bindir}/ldrdf
|
||||||
%doc %{_mandir}/man1/*.1.gz
|
%{_bindir}/nasm
|
||||||
|
%{_bindir}/ndisasm
|
||||||
|
%{_bindir}/rdf2bin
|
||||||
|
%{_bindir}/rdf2com
|
||||||
|
%{_bindir}/rdf2ihx
|
||||||
|
%{_bindir}/rdf2ith
|
||||||
|
%{_bindir}/rdf2srec
|
||||||
|
%{_bindir}/rdfdump
|
||||||
|
%{_bindir}/rdflib
|
||||||
|
%{_bindir}/rdx
|
||||||
|
%{_mandir}/man1/ldrdf.1%{ext_man}
|
||||||
|
%{_mandir}/man1/nasm.1%{ext_man}
|
||||||
|
%{_mandir}/man1/ndisasm.1%{ext_man}
|
||||||
|
%{_mandir}/man1/rdf2bin.1%{ext_man}
|
||||||
|
%{_mandir}/man1/rdf2com.1%{ext_man}
|
||||||
|
%{_mandir}/man1/rdf2ihx.1%{ext_man}
|
||||||
|
%{_mandir}/man1/rdf2ith.1%{ext_man}
|
||||||
|
%{_mandir}/man1/rdf2srec.1%{ext_man}
|
||||||
|
%{_mandir}/man1/rdfdump.1%{ext_man}
|
||||||
|
%{_mandir}/man1/rdflib.1%{ext_man}
|
||||||
|
%{_mandir}/man1/rdx.1%{ext_man}
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc %{_docdir}/nasm
|
%doc %{_docdir}/nasm
|
||||||
%doc %{_infodir}/nasm*
|
%{_infodir}/nasm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user