From 3836e1d1ab859b9f6c41bc4565ef779640b7c706 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 8 Jul 2019 10:05:39 +0930 Subject: [PATCH] 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. --- ld/ChangeLog | 5 +++++ ld/testsuite/ld-powerpc/callstub-1.d | 2 +- ld/testsuite/ld-powerpc/callstub-2.d | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index dbf2d2e4b5c..cb725921279 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2019-07-08 Alan Modra + + * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld. + * testsuite/ld-powerpc/callstub-2.d: Likewise. + 2019-07-04 Jan Beulich * 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 a9926e50bed..7c243ee8411 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 a8db9bd6225..603670710a5 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 .* -- 2.30.2