Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/binutils
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-05-13 08:25:38 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-05-13 08:25:38 +0200
commitbffd80667878e13a7987b86e548c963e075968cc (patch)
tree5f03fe2b747d52d8c22d3f729f8d8b803caeb4e0 /core/binutils
parentaa25476ddd62d0858b9b9db89df901089e3d024b (diff)
core/binutils: removed elf32 patch, glibc build still segfaults
Diffstat (limited to 'core/binutils')
-rw-r--r--core/binutils/PKGBUILD13
-rw-r--r--core/binutils/elf32_hppa_static_pie.patch22
2 files changed, 0 insertions, 35 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index 469392fc..35c2db26 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -4,16 +4,3 @@ eval "$(
s/--enable/--enable-64-bit-bfd \0/
'
)"
-
-# see https://sourceware.org/bugzilla/show_bug.cgi?id=22537
-# linking segfault in glibc
-
-source+=(elf32_hppa_static_pie.patch)
-md5sums+=('68e3ce93b66ddec6c36b5146df1ed713')
-
-eval "$(
- declare -f prepare | \
- sed '
- /}/i patch -p1 -i "$srcdir/elf32_hppa_static_pie.patch"
- '
-)"
diff --git a/core/binutils/elf32_hppa_static_pie.patch b/core/binutils/elf32_hppa_static_pie.patch
deleted file mode 100644
index df6a53dd..00000000
--- a/core/binutils/elf32_hppa_static_pie.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -rauN binutils-2.30/bfd/elf32-hppa.c binutils-2.30-elf32_hppa_static_pie-patch/bfd/elf32-hppa.c
---- binutils-2.30/bfd/elf32-hppa.c 2018-01-13 14:31:15.000000000 +0100
-+++ binutils-2.30-elf32_hppa_static_pie-patch/bfd/elf32-hppa.c 2018-05-12 07:50:42.001547947 +0200
-@@ -612,6 +612,9 @@
- return hppa_stub_import;
- }
-
-+ if (destination == (bfd_vma) -1)
-+ return hppa_stub_none;
-+
- /* Determine where the call point is. */
- location = (input_sec->output_offset
- + input_sec->output_section->vma
-@@ -2842,7 +2845,7 @@
- section. */
- sym_sec = NULL;
- sym_value = 0;
-- destination = 0;
-+ destination = -1;
- hh = NULL;
- if (r_indx < symtab_hdr->sh_info)
- {