- Update binutils 2.24 snapshot.
- Switch to using GIT instead of CVS to access the FSF repository. - Retire binutils-2.24-nm-dynsym.patch
This commit is contained in:
parent
7ae446d791
commit
fcc0aa9887
@ -1,27 +0,0 @@
|
|||||||
*** ../binutils-2.24-2013-10-25.orig/binutils/nm.c 2013-10-25 10:39:21.701010088 +0100
|
|
||||||
--- binutils/nm.c 2013-10-25 10:41:32.789013721 +0100
|
|
||||||
*************** display_rel_file (bfd *abfd, bfd *archiv
|
|
||||||
*** 1010,1016 ****
|
|
||||||
|
|
||||||
symcount = bfd_read_minisymbols (abfd, dynamic, &minisyms, &size);
|
|
||||||
if (symcount < 0)
|
|
||||||
! bfd_fatal (bfd_get_filename (abfd));
|
|
||||||
|
|
||||||
if (symcount == 0)
|
|
||||||
{
|
|
||||||
--- 1010,1024 ----
|
|
||||||
|
|
||||||
symcount = bfd_read_minisymbols (abfd, dynamic, &minisyms, &size);
|
|
||||||
if (symcount < 0)
|
|
||||||
! {
|
|
||||||
! if (dynamic && bfd_get_error () == bfd_error_no_symbols)
|
|
||||||
! {
|
|
||||||
! non_fatal (_("%s: no symbols"), bfd_get_filename (abfd));
|
|
||||||
! return;
|
|
||||||
! }
|
|
||||||
!
|
|
||||||
! bfd_fatal (bfd_get_filename (abfd));
|
|
||||||
! }
|
|
||||||
|
|
||||||
if (symcount == 0)
|
|
||||||
{
|
|
@ -17,7 +17,7 @@
|
|||||||
Summary: A GNU collection of binary utilities
|
Summary: A GNU collection of binary utilities
|
||||||
Name: %{?cross}binutils%{?_with_debug:-debug}
|
Name: %{?cross}binutils%{?_with_debug:-debug}
|
||||||
Version: 2.24
|
Version: 2.24
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://sources.redhat.com/binutils
|
URL: http://sources.redhat.com/binutils
|
||||||
@ -26,16 +26,18 @@ URL: http://sources.redhat.com/binutils
|
|||||||
# many controversial patches so we stick with the official FSF version
|
# many controversial patches so we stick with the official FSF version
|
||||||
# instead.
|
# instead.
|
||||||
|
|
||||||
%global DATE 2013-10-25
|
%global DATE 2013-11-11
|
||||||
# Note - There are no 2.24 tarballs yet, so instead we use a manually created
|
# Note - There are no 2.24 tarballs yet, so instead we use a manually created
|
||||||
# tarball. The sources were pulled from the upstream binutils CVS repository.
|
# tarball. The sources were pulled from the upstream binutils CVS repository.
|
||||||
# The current tarball was created from sources checked in to the 2.24 branch
|
# The current tarball was created from sources checked in to the 2.24 branch
|
||||||
# in the repository as of %{DATE}. Use following commands to generate the tarball:
|
# in the repository as of %{DATE}. Use following commands to generate the tarball:
|
||||||
# cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src login
|
#
|
||||||
# {enter "anoncvs" as the password}
|
# git clone -b binutils-2_24-branch ssh://sourceware.org/git/binutils-gdb.git \
|
||||||
# cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co -D %{DATE} -r binutils-2_24-branch binutils
|
# binutils-%{version}-%{DATE}
|
||||||
# mv src binutils-%{version}-%{DATE} mv src binutils-%{version}-%{DATE}
|
#
|
||||||
# tar cf - binutils-%{version}-%{DATE} | bzip2 -9 > binutils-%{version}-%{DATE}.tar.bz2
|
# tar cf - binutils-%{version}-%{DATE} | \
|
||||||
|
# bzip2 -9 > binutils-%{version}-%{DATE}.tar.bz2
|
||||||
|
#
|
||||||
Source: binutils-%{version}-%{DATE}.tar.bz2
|
Source: binutils-%{version}-%{DATE}.tar.bz2
|
||||||
# Once there is an official 2.24 release this source can be used:
|
# Once there is an official 2.24 release this source can be used:
|
||||||
# Source: http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.bz2
|
# Source: http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.bz2
|
||||||
@ -59,8 +61,6 @@ Patch11: binutils-2.23.52.0.1-addr2line-dynsymtab.patch
|
|||||||
Patch12: binutils-2.23.2-kernel-ld-r.patch
|
Patch12: binutils-2.23.2-kernel-ld-r.patch
|
||||||
# Correct bug introduced by patch 12
|
# Correct bug introduced by patch 12
|
||||||
Patch13: binutils-2.23.2-aarch64-em.patch
|
Patch13: binutils-2.23.2-aarch64-em.patch
|
||||||
# Fix NM displaying dynamic symbols in multiple files. BZ #1022845
|
|
||||||
Patch14: binutils-2.24-nm-dynsym.patch
|
|
||||||
|
|
||||||
Provides: bundled(libiberty)
|
Provides: bundled(libiberty)
|
||||||
|
|
||||||
@ -177,7 +177,6 @@ using libelf instead of BFD.
|
|||||||
%patch11 -p0 -b .addr2line~
|
%patch11 -p0 -b .addr2line~
|
||||||
%patch12 -p0 -b .kernel-ld-r~
|
%patch12 -p0 -b .kernel-ld-r~
|
||||||
%patch13 -p0 -b .aarch64~
|
%patch13 -p0 -b .aarch64~
|
||||||
%patch14 -p0 -b .nm-dynsym~
|
|
||||||
|
|
||||||
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
|
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
|
||||||
|
|
||||||
@ -483,6 +482,11 @@ exit 0
|
|||||||
%endif # %{isnative}
|
%endif # %{isnative}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 11 2013 Nick Clifton <nickc@redhat.com> - 2.24-5
|
||||||
|
- Update binutils 2.24 snapshot.
|
||||||
|
- Switch to using GIT instead of CVS to access the FSF repository.
|
||||||
|
- Retire binutils-2.24-nm-dynsym.patch
|
||||||
|
|
||||||
* Fri Oct 25 2013 Nick Clifton <nickc@redhat.com> - 2.24-4
|
* Fri Oct 25 2013 Nick Clifton <nickc@redhat.com> - 2.24-4
|
||||||
- Update binutils 2.24 snapshot.
|
- Update binutils 2.24 snapshot.
|
||||||
- Stop NM from halting if it encounters a file with no symbols when displaying dynamic symbols in multiple files. (#1022845)
|
- Stop NM from halting if it encounters a file with no symbols when displaying dynamic symbols in multiple files. (#1022845)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user