summaryrefslogtreecommitdiff
path: root/src/stage4/patches/binutils.patch
blob: 7885c35830578964abd69d96cdc15f9225ccb074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
--- a/PKGBUILD	2018-03-21 23:15:04.617863791 +0100
+++ b/PKGBUILD	2018-03-22 07:15:46.834768079 +0100
@@ -4,8 +4,8 @@
 # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
 
 pkgname=binutils
-pkgver=2.29.1
-pkgrel=3
+pkgver=2.30
+pkgrel=1
 pkgdesc='A set of programs to assemble and manipulate binary and object files'
 arch=(x86_64)
 url='http://www.gnu.org/software/binutils/'
@@ -19,16 +19,10 @@ replaces=(binutils-multilib)
 options=(staticlibs !distcc !ccache)
 #_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
-        0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch
-        0001-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch)
+source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig})
 validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
-md5sums=('acc9cd826edb9954ac7cecb81c727793'
-         'SKIP'
-         'e4be936139ef46122cb3841881c432b2'
-         '469164f3c93a0e92a697537b60c9806c'
-         '0c679b37e90fb23de60a4d28329b956a')
+md5sums=('ffc476dd46c96f932875d1b2e27e929f'
+         'SKIP')
 
 prepare() {
   mkdir -p binutils-build
@@ -38,15 +32,6 @@ prepare() {
 
   # 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
-
-  # https://sourceware.org/bugzilla/show_bug.cgi?id=22741
-  git apply ../0001-PR22741-objcopy-segfault-on-fuzzed-COFF-object.patch
-
-  # https://sourceware.org/bugzilla/show_bug.cgi?id=22829
-  git apply ../0001-PR22829-objcopy-strip-removes-PT_GNU_RELRO-from-lld-.patch
 }
 
 build() {