2.19.51.0.14-31.fc12
This commit is contained in:
parent
37e61ba5ad
commit
21b973b9ce
42
binutils-2.19.51.0.14-unique-is-global.patch
Normal file
42
binutils-2.19.51.0.14-unique-is-global.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
2009-08-06 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
PR binutils/10492
|
||||||
|
* elf.c (sym_is_global): Return true even for BSF_GNU_UNIQUE
|
||||||
|
symbols.
|
||||||
|
* elf32-mips.c (mips_elf_sym_is_global): Likewise.
|
||||||
|
* elfn32-mips.c (mips_elf_sym_is_global): Likewise.
|
||||||
|
|
||||||
|
--- bfd/elf.c.jj 2009-08-06 14:20:38.000000000 +0200
|
||||||
|
+++ bfd/elf.c 2009-08-06 14:41:06.000000000 +0200
|
||||||
|
@@ -3084,7 +3084,7 @@ sym_is_global (bfd *abfd, asymbol *sym)
|
||||||
|
if (bed->elf_backend_sym_is_global)
|
||||||
|
return (*bed->elf_backend_sym_is_global) (abfd, sym);
|
||||||
|
|
||||||
|
- return ((sym->flags & (BSF_GLOBAL | BSF_WEAK)) != 0
|
||||||
|
+ return ((sym->flags & (BSF_GLOBAL | BSF_WEAK | BSF_GNU_UNIQUE)) != 0
|
||||||
|
|| bfd_is_und_section (bfd_get_section (sym))
|
||||||
|
|| bfd_is_com_section (bfd_get_section (sym)));
|
||||||
|
}
|
||||||
|
--- bfd/elf32-mips.c.jj 2009-08-06 14:17:48.000000000 +0200
|
||||||
|
+++ bfd/elf32-mips.c 2009-08-06 14:41:52.000000000 +0200
|
||||||
|
@@ -1450,7 +1450,7 @@ mips_elf_sym_is_global (bfd *abfd ATTRIB
|
||||||
|
if (SGI_COMPAT (abfd))
|
||||||
|
return (sym->flags & BSF_SECTION_SYM) == 0;
|
||||||
|
else
|
||||||
|
- return ((sym->flags & (BSF_GLOBAL | BSF_WEAK)) != 0
|
||||||
|
+ return ((sym->flags & (BSF_GLOBAL | BSF_WEAK | BSF_GNU_UNIQUE)) != 0
|
||||||
|
|| bfd_is_und_section (bfd_get_section (sym))
|
||||||
|
|| bfd_is_com_section (bfd_get_section (sym)));
|
||||||
|
}
|
||||||
|
--- bfd/elfn32-mips.c.jj 2008-11-19 15:50:38.000000000 +0100
|
||||||
|
+++ bfd/elfn32-mips.c 2009-08-06 14:42:32.000000000 +0200
|
||||||
|
@@ -2289,7 +2289,7 @@ mips_elf_sym_is_global (bfd *abfd ATTRIB
|
||||||
|
if (SGI_COMPAT (abfd))
|
||||||
|
return (sym->flags & BSF_SECTION_SYM) == 0;
|
||||||
|
else
|
||||||
|
- return ((sym->flags & (BSF_GLOBAL | BSF_WEAK)) != 0
|
||||||
|
+ return ((sym->flags & (BSF_GLOBAL | BSF_WEAK | BSF_GNU_UNIQUE)) != 0
|
||||||
|
|| bfd_is_und_section (bfd_get_section (sym))
|
||||||
|
|| bfd_is_com_section (bfd_get_section (sym)));
|
||||||
|
}
|
@ -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.19.51.0.14
|
Version: 2.19.51.0.14
|
||||||
Release: 30%{?dist}
|
Release: 31%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://sources.redhat.com/binutils
|
URL: http://sources.redhat.com/binutils
|
||||||
@ -31,6 +31,7 @@ Patch05: binutils-2.19.51.0.10-version.patch
|
|||||||
Patch06: binutils-2.19.51.0.10-set-long-long.patch
|
Patch06: binutils-2.19.51.0.10-set-long-long.patch
|
||||||
Patch07: binutils-2.19.51.0.10-build-id.patch
|
Patch07: binutils-2.19.51.0.10-build-id.patch
|
||||||
Patch09: binutils-2.19.51.0.11-moxie.patch
|
Patch09: binutils-2.19.51.0.11-moxie.patch
|
||||||
|
Patch10: binutils-2.19.51.0.14-unique-is-global.patch
|
||||||
|
|
||||||
%if 0%{?_with_debug:1}
|
%if 0%{?_with_debug:1}
|
||||||
# Define this if you want to skip the strip step and preserve debug info.
|
# Define this if you want to skip the strip step and preserve debug info.
|
||||||
@ -103,6 +104,7 @@ to consider using libelf instead of BFD.
|
|||||||
%patch06 -p0 -b .set-long-long~
|
%patch06 -p0 -b .set-long-long~
|
||||||
%patch07 -p0 -b .build-id~
|
%patch07 -p0 -b .build-id~
|
||||||
%patch09 -p0 -b .moxie~
|
%patch09 -p0 -b .moxie~
|
||||||
|
%patch10 -p0 -b .unique-is-global~
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
||||||
@ -353,6 +355,9 @@ fi
|
|||||||
%endif # %{isnative}
|
%endif # %{isnative}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 6 2009 Jakub Jelinek <jakub@redhat.com> 2.19.51.0.14-31
|
||||||
|
- Fix strip on objects with STB_GNU_UNIQUE symbols. (BZ 515700, PR binutils/10492)
|
||||||
|
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19.51.0.14-30
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19.51.0.14-30
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user