Update readelf and objcopy to support v3 build notes.

This commit is contained in:
Nick Clifton 2018-01-03 17:21:34 +00:00
parent b8265c46f7
commit 9f57db575f
4 changed files with 1360 additions and 8 deletions

2
.gitignore vendored
View File

@ -10,3 +10,5 @@ HOWTO
build-sources
/binutils-2.29.tar.xz
/binutils-2.29.1.tar.xz
/binutils-2.19.50.0.1-output-format.sed

File diff suppressed because it is too large Load Diff

View File

@ -54,10 +54,10 @@
Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.29.1
Release: 9%{?dist}
Release: 10%{?dist}
License: GPLv3+
Group: Development/Tools
URL: http://sources.redhat.com/binutils
URL: https://sourceware.org/binutils
# Note - the Linux Kernel binutils releases are too unstable and contain
# too many controversial patches so we stick with the official FSF version
@ -150,6 +150,10 @@ Patch11: binutils-strip-delete-relocs.patch
# no longer being maintained.
Patch12: binutils-readelf-other-sym-info.patch
# Purpose: Enhances readelf and objcopy to support v3 build notes.
# Lifetime: Fixed in 2.30.
Patch13: binutils-support-v3-build-notes.patch
#----------------------------------------------------------------------------
Provides: bundled(libiberty)
@ -273,10 +277,10 @@ using libelf instead of BFD.
%prep
%setup -q -n binutils-%{version}
%patch01 -p1
%patch02 -p1
%patch03 -p1
%patch04 -p1
%patch05 -p1
%patch02 -p1
%patch03 -p1
%patch04 -p1
%patch05 -p1
%patch06 -p1
%patch07 -p1
%patch08 -p1
@ -284,6 +288,7 @@ using libelf instead of BFD.
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
@ -486,10 +491,14 @@ install -m 644 include/libiberty.h %{buildroot}%{_prefix}/include
install -m 644 opcodes/libopcodes.a %{buildroot}%{_libdir}
# Remove Windows/Novell only man pages
rm -f %{buildroot}%{_mandir}/man1/{dlltool,nlmconv,windres,windmc}*
%if %{without docs}
rm -f %{buildroot}%{_mandir}/man1/{addr2line,ar,as,c++filt,elfedit,gprof,ld,nm,objcopy,objdump,ranlib,readelf,size,strings,strip}*
rm -f %{buildroot}%{_infodir}/{as,bfd,binutils,gprof,ld}*
%endif
%if %{enable_shared}
chmod +x %{buildroot}%{_libdir}/lib*.so*
%endif # isnative
%endif
# Prevent programs from linking against libbfd and libopcodes
# dynamically, as they are change far too often.
@ -692,6 +701,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Wed Jan 03 2018 Nick Clifton <nickc@redhat.com> 2.29.1-10
- Update readelf and objcopy to support v3 build notes.
* Tue Dec 12 2017 Nick Clifton <nickc@redhat.com> 2.29.1-9
- Have readelf display extra symbol information at the end of the line. (#1479302)

View File

@ -1 +1,2 @@
SHA512 (binutils-2.29.tar.xz) = bb227c7af65133a61bbde8be4104a543f4185fce8c8e7be22c36d92d121d28b5413d42f18c7e987d035d6312c542d0e2aaca8930386a4ce26d7c9d7248145398
SHA512 (binutils-2.29.1.tar.xz) = d748d22306477d60d921078804d21943248c23fca0707aac9b016a352c01c75ca69e82624ae37fb0bbd03af3b17088a94f60dfe1a86a7ff82e18ece3c24f0fd0
SHA512 (binutils-2.19.50.0.1-output-format.sed) = 2f8686b0c8af13c98cda056824c2820416f6e2d003f70b78ccf5314525b9ee3684d421dfa83e638a2d42d06ea4d4bdaf5226b64d6ec26f7ff59c44ffb2a23dd2