PowerPC notoc call stub tests

Alan Modra amodra@gmail.com
Mon Jul 8 06:00:00 GMT 2019


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.

diff --git a/ld/testsuite/ld-powerpc/callstub-1.d b/ld/testsuite/ld-powerpc/callstub-1.d
index a9926e50be..7c243ee841 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 a8db9bd622..603670710a 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
 
 .*

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list