summaryrefslogtreecommitdiff
path: root/system/binutils/disable-gnu-mbind.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-12 16:07:51 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-12 16:07:51 -0600
commitc9a8fef513daf0ee7f47f359b14096f9ed4932bb (patch)
tree224c268335329710cbc4c180a618f2e8362f3097 /system/binutils/disable-gnu-mbind.patch
parent47b9d3480f3c77d86475e0bd1bd0d8fa1e5c9024 (diff)
downloadpackages-c9a8fef513daf0ee7f47f359b14096f9ed4932bb.tar.gz
packages-c9a8fef513daf0ee7f47f359b14096f9ed4932bb.tar.bz2
packages-c9a8fef513daf0ee7f47f359b14096f9ed4932bb.tar.xz
packages-c9a8fef513daf0ee7f47f359b14096f9ed4932bb.zip
system/binutils: import from aports with Adelie 2.29
Diffstat (limited to 'system/binutils/disable-gnu-mbind.patch')
-rw-r--r--system/binutils/disable-gnu-mbind.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/system/binutils/disable-gnu-mbind.patch b/system/binutils/disable-gnu-mbind.patch
new file mode 100644
index 000000000..796e6d0fc
--- /dev/null
+++ b/system/binutils/disable-gnu-mbind.patch
@@ -0,0 +1,32 @@
+These tests do not work on PIE. Disable them.
+
+--- binutils-2.29/ld/testsuite/ld-elf/elf.exp.old 2017-08-19 22:39:31.236907813 +0000
++++ binutils-2.29/ld/testsuite/ld-elf/elf.exp 2017-08-20 00:12:04.735925829 +0000
+@@ -296,27 +296,6 @@
+ || [istarget *-*-nacl*]
+ || [istarget *-*-gnu*] } {
+ run_ld_link_exec_tests $array_tests_pie $xfails
+-
+- run_ld_link_exec_tests [list \
+- [list \
+- "Run mbind2a" \
+- "$NOPIE_LDFLAGS -Wl,-z,common-page-size=0x4000" \
+- "" \
+- { mbind2a.s mbind2b.c } \
+- "mbind2a" \
+- "pass.out" \
+- "-O2 -I../bfd" \
+- ] \
+- [list \
+- "Run mbind2b" \
+- "-static -Wl,-z,common-page-size=0x4000" \
+- "" \
+- { mbind2a.s mbind2b.c } \
+- "mbind2b" \
+- "pass.out" \
+- "-O2 -I../bfd" \
+- ] \
+- ]
+ }
+
+ # <http://www.gnu.org/software/hurd/open_issues/binutils.html#static>