]> git.pld-linux.org Git - packages/cross-binutils.git/blame - binutils-2.20.51.0.10-ppc64-pie.patch
- unconditional noarch subpackages
[packages/cross-binutils.git] / binutils-2.20.51.0.10-ppc64-pie.patch
CommitLineData
59e455fe
ER
1--- a/bfd/elf64-ppc.c 2012-09-11 12:13:00.637448573 +0100
2+++ b/bfd/elf64-ppc.c 2012-09-11 12:13:17.922449052 +0100
3@@ -13523,6 +13523,9 @@
4 {
5 BFD_ASSERT (h->elf.dynindx != -1);
6 outrel.r_info = ELF64_R_INFO (h->elf.dynindx, r_type);
7+ if (h->elf.dynindx == -1
8+ && h->elf.root.type == bfd_link_hash_undefweak)
9+ memset (&outrel, 0, sizeof outrel);
10 }
11 else
12 {
This page took 0.067931 seconds and 4 git commands to generate.