aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-07-08 10:05:39 +0930
committerAlan Modra <amodra@gmail.com>2019-07-08 15:24:14 +0930
commit3836e1d1ab859b9f6c41bc4565ef779640b7c706 (patch)
tree4aa1eaa21c3e0693e7c4f48469c891399f074b91
parent55904abea47780ed16b4f726862ba1e14d05b96e (diff)
downloadgdb-3836e1d1ab859b9f6c41bc4565ef779640b7c706.zip
gdb-3836e1d1ab859b9f6c41bc4565ef779640b7c706.tar.gz
gdb-3836e1d1ab859b9f6c41bc4565ef779640b7c706.tar.bz2
Re: PowerPC notoc call stub tests
Correct the tests for powerpc 32-bit targets. * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld. * testsuite/ld-powerpc/callstub-2.d: Likewise.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-powerpc/callstub-1.d2
-rw-r--r--ld/testsuite/ld-powerpc/callstub-2.d2
3 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index dbf2d2e..cb72592 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2019-07-08 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld.
+ * testsuite/ld-powerpc/callstub-2.d: Likewise.
+
2019-07-04 Jan Beulich <jbeulich@suse.com>
* testsuite/ld-elf/group9.s: Correct argument of .type.
diff --git a/ld/testsuite/ld-powerpc/callstub-1.d b/ld/testsuite/ld-powerpc/callstub-1.d
index a9926e5..7c243ee 100644
--- a/ld/testsuite/ld-powerpc/callstub-1.d
+++ b/ld/testsuite/ld-powerpc/callstub-1.d
@@ -1,5 +1,5 @@
#as: -a64 -mfuture
-#ld: -shared --plt-align=0 --hash-style=gnu
+#ld: -melf64ppc -shared --plt-align=0 --hash-style=gnu
#objdump: -dr -Mfuture
.*
diff --git a/ld/testsuite/ld-powerpc/callstub-2.d b/ld/testsuite/ld-powerpc/callstub-2.d
index a8db9bd..6036707 100644
--- a/ld/testsuite/ld-powerpc/callstub-2.d
+++ b/ld/testsuite/ld-powerpc/callstub-2.d
@@ -1,5 +1,5 @@
#as: -a64
-#ld: -shared --plt-align=0 --hash-style=gnu
+#ld: -melf64ppc -shared --plt-align=0 --hash-style=gnu
#objdump: -dr
.*