[arch-commits] Commit in binutils/trunk (2 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Oct 9 09:08:52 UTC 2017
Date: Monday, October 9, 2017 @ 09:08:46
Author: bpiotrowski
Revision: 307217
2.29.1-1: new upstream release
Added:
binutils/trunk/0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch
Modified:
binutils/trunk/PKGBUILD
----------------------------------------------------------------+
0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch | 29 ++++++++++
PKGBUILD | 21 +++++--
2 files changed, 44 insertions(+), 6 deletions(-)
Added: 0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch
===================================================================
--- 0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch (rev 0)
+++ 0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch 2017-10-09 09:08:46 UTC (rev 307217)
@@ -0,0 +1,29 @@
+From 7a7431ddc2332ddc3753330a8dd815bb5f7193c0 Mon Sep 17 00:00:00 2001
+From: "H.J. Lu" <hjl.tools at 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
+
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-09 08:52:20 UTC (rev 307216)
+++ PKGBUILD 2017-10-09 09:08:46 UTC (rev 307217)
@@ -4,9 +4,8 @@
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
pkgname=binutils
-pkgver=2.29.0
+pkgver=2.29.1
pkgrel=1
-_commit=dd9a28c0966d13924fbd1096a724ae334954d830
pkgdesc='A set of programs to assemble and manipulate binary and object files'
arch=(i686 x86_64)
url='http://www.gnu.org/software/binutils/'
@@ -18,22 +17,32 @@
conflicts=(binutils-multilib)
replaces=(binutils-multilib)
options=(staticlibs !distcc !ccache)
-source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit})
-md5sums=('SKIP')
+#_commit=d1a6e7195b9bb0255fa77588985b969ad8aaacf5
+#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}
+source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}
+ 0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch)
+validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
+md5sums=('acc9cd826edb9954ac7cecb81c727793'
+ 'SKIP'
+ 'e4be936139ef46122cb3841881c432b2')
prepare() {
mkdir -p binutils-build
- cd binutils-gdb
+ #cd binutils-gdb
+ cd binutils-$pkgver
# hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+
+ # https://bugs.archlinux.org/task/55741
+ git apply ../0001-x86-64_Dont_pass_output_bfd_to_info-callbacks-minfo.patch
}
build() {
cd binutils-build
- "$srcdir/binutils-gdb/configure" \
+ "$srcdir/binutils-$pkgver/configure" \
--prefix=/usr \
--with-lib-path=/usr/lib:/usr/local/lib \
--with-bugurl=https://bugs.archlinux.org/ \
More information about the arch-commits
mailing list