diff --git a/ld/testsuite/ld-aarch64/ifunc-9.d b/ld/testsuite/ld-aarch64/ifunc-9.d index 3b4e995254..e921591275 100644 --- a/ld/testsuite/ld-aarch64/ifunc-9.d +++ b/ld/testsuite/ld-aarch64/ifunc-9.d @@ -1,3 +1,4 @@ #ld: --export-dynamic -#error: .*dynamic STT_GNU_IFUNC symbol `foo' with pointer equality in `.*.o' can not be used when making an executable; recompile with -fPIE and relink with -pie +#objdump: -dr #target: aarch64*-*-* +#... diff --git a/ld/testsuite/ld-ifunc/ifunc.exp b/ld/testsuite/ld-ifunc/ifunc.exp index 612d91402f..86892b96b5 100644 --- a/ld/testsuite/ld-ifunc/ifunc.exp +++ b/ld/testsuite/ld-ifunc/ifunc.exp @@ -713,7 +713,7 @@ run_ld_link_exec_tests [list \ # That does not happen for the pr23169 testcase where the resolver is # in the executable (which is relocated last by ld.so). if { [isnative] - && ![istarget "powerpc-*-*"] } { + && !([istarget "powerpc-*-*"] || [istarget "aarch64*-*-*"]) } { run_ld_link_exec_tests [list \ [list \ "Run pr23169a" \