summaryrefslogtreecommitdiff
path: root/system/binutils/BTS-170.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-09-17 14:02:23 -0500
committerMax Rees <maxcrees@me.com>2019-09-28 13:27:49 -0500
commit01f5c4c43e7f0ad357b39e6307413c46aa9d1f7d (patch)
tree6a617ba2cb33a62525ae9d9a2e8bead2ac7ffd54 /system/binutils/BTS-170.patch
parentfcbe5e492440c689fc170127ce6d05e833e4f56e (diff)
downloadpackages-01f5c4c43e7f0ad357b39e6307413c46aa9d1f7d.tar.gz
packages-01f5c4c43e7f0ad357b39e6307413c46aa9d1f7d.tar.bz2
packages-01f5c4c43e7f0ad357b39e6307413c46aa9d1f7d.tar.xz
packages-01f5c4c43e7f0ad357b39e6307413c46aa9d1f7d.zip
system/binutils: disable failing pmmx tests (#196)
Diffstat (limited to 'system/binutils/BTS-170.patch')
-rw-r--r--system/binutils/BTS-170.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/system/binutils/BTS-170.patch b/system/binutils/BTS-170.patch
new file mode 100644
index 000000000..daca64319
--- /dev/null
+++ b/system/binutils/BTS-170.patch
@@ -0,0 +1,42 @@
+The "No PLT (static 1d)" link test fails on pmmx and x86_64.
+lea is being emitted instead of mov.
+
+https://bts.adelielinux.org/show_bug.cgi?id=170
+https://bts.adelielinux.org/show_bug.cgi?id=196
+
+--- binutils-2.32/ld/testsuite/ld-x86-64/no-plt.exp 2019-01-19 10:01:34.000000000 -0600
++++ binutils-2.32/ld/testsuite/ld-x86-64/no-plt.exp 2019-09-11 17:21:27.232257151 -0500
+@@ -100,15 +100,6 @@ run_cc_link_tests [list \
+ "no-plt-1c" \
+ ] \
+ [list \
+- "No PLT (static 1d)" \
+- "-static tmpdir/no-plt-check1.o tmpdir/no-plt-main1.o \
+- tmpdir/no-plt-func1.o tmpdir/no-plt-extern1.o" \
+- "-Wa,-mx86-used-note=yes" \
+- {dummy.s} \
+- {{readelf -Wr no-plt-1d.rd} {objdump -dwrj.text no-plt-1d.dd}} \
+- "no-plt-1d" \
+- ] \
+- [list \
+ "No PLT (PIE 1e)" \
+ "-pie tmpdir/no-plt-check1.o tmpdir/no-plt-main1.o \
+ tmpdir/no-plt-func1.o tmpdir/no-plt-extern1.o" \
+--- binutils-2.32/ld/testsuite/ld-i386/no-plt.exp 2019-01-19 10:01:33.000000000 -0600
++++ binutils-2.32/ld/testsuite/ld-i386/no-plt.exp 2019-09-11 18:03:48.012302603 -0500
+@@ -102,15 +102,6 @@ run_cc_link_tests [list \
+ "no-plt-1c" \
+ ] \
+ [list \
+- "No PLT (static 1d)" \
+- "-static tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \
+- tmpdir/no-plt-func1.o tmpdir/no-plt-extern1a.o" \
+- "-Wa,-mx86-used-note=yes" \
+- {dummy.s} \
+- {{readelf -Wr no-plt-1d.rd} {objdump -dwrj.text no-plt-1d.dd}} \
+- "no-plt-1d" \
+- ] \
+- [list \
+ "No PLT (PIE 1e)" \
+ "-pie tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \
+ tmpdir/no-plt-func1.o tmpdir/no-plt-extern1a.o" \