diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-02-14 20:10:12 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-02-14 20:10:12 (GMT) |
commit | 94e3079457946aabe0b9d7e3475b96ffe7e0fcc0 (patch) | |
tree | 980451984ebd444b9350f6370cc62b03897e8751 /abs/core/binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch | |
parent | 7c3325a2be26bca84ec9dd8e190d05046b80959f (diff) | |
download | linhes_pkgbuild-94e3079457946aabe0b9d7e3475b96ffe7e0fcc0.zip linhes_pkgbuild-94e3079457946aabe0b9d7e3475b96ffe7e0fcc0.tar.gz linhes_pkgbuild-94e3079457946aabe0b9d7e3475b96ffe7e0fcc0.tar.bz2 |
binutils: update to 2.29.1
Diffstat (limited to 'abs/core/binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch')
-rw-r--r-- | abs/core/binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch b/abs/core/binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch new file mode 100644 index 0000000..ce719e7 --- /dev/null +++ b/abs/core/binutils/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch @@ -0,0 +1,29 @@ +From 7a7431ddc2332ddc3753330a8dd815bb5f7193c0 Mon Sep 17 00:00:00 2001 +From: "H.J. Lu" <hjl.tools@gmail.com> +Date: Tue, 26 Sep 2017 14:41:22 -0700 +Subject: [PATCH] x86-64: Don't pass output_bfd to info->callbacks->minfo + +Don't pass output_bfd to info->callbacks->minfo when dumping local IFUNC +functions in the map file. + + PR ld/22199 + * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Don't pass + output_bfd to info->callbacks->minfo. + +(cherry picked from commit ac69a0d75bf472a140e5405c8a90420d5f63a998) + +diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c +index d9225ad..1f6dfb8 100644 +--- a/bfd/elf64-x86-64.c ++++ b/bfd/elf64-x86-64.c +@@ -6133,7 +6133,6 @@ elf_x86_64_finish_dynamic_symbol (bfd *output_bfd, + if (SYMBOL_REFERENCES_LOCAL (info, h)) + { + info->callbacks->minfo (_("Local IFUNC function `%s' in %B\n"), +- output_bfd, + h->root.root.string, + h->root.u.def.section->owner); + +-- +2.9.3 + |