diff options
Diffstat (limited to 'source/d/binutils/patches/binutils-2.20.51.0.10-ppc64-pie.patch')
-rw-r--r-- | source/d/binutils/patches/binutils-2.20.51.0.10-ppc64-pie.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/d/binutils/patches/binutils-2.20.51.0.10-ppc64-pie.patch b/source/d/binutils/patches/binutils-2.20.51.0.10-ppc64-pie.patch new file mode 100644 index 00000000..740c071b --- /dev/null +++ b/source/d/binutils/patches/binutils-2.20.51.0.10-ppc64-pie.patch @@ -0,0 +1,12 @@ +--- a/bfd/elf64-ppc.c 2012-09-11 12:13:00.637448573 +0100 ++++ b/bfd/elf64-ppc.c 2012-09-11 12:13:17.922449052 +0100 +@@ -13523,6 +13523,9 @@ + { + BFD_ASSERT (h->elf.dynindx != -1); + outrel.r_info = ELF64_R_INFO (h->elf.dynindx, r_type); ++ if (h->elf.dynindx == -1 ++ && h->elf.root.type == bfd_link_hash_undefweak) ++ memset (&outrel, 0, sizeof outrel); + } + else + { |