From cacb9d871376da293c655efce8cf3a4f2feefbaa Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 27 Mar 2020 06:59:41 -0700 Subject: [PATCH] ld: Skip some x86 IFUNC tests for Solaris Since Solaris ld.so.1 doesn't support ifunc and never will, skip some x86 IFUNC tests for Solaris. PR 25732 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris. * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise. * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise. --- ld/ChangeLog | 7 +++++++ ld/testsuite/ld-ifunc/ifunc-23a-x86.d | 1 + ld/testsuite/ld-ifunc/ifunc-24a-x86.d | 1 + ld/testsuite/ld-ifunc/ifunc-25a-x86.d | 1 + 4 files changed, 10 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 1552d19b735..752453e3962 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2020-03-27 H.J. Lu + + PR 25732 + * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris. + * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise. + * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise. + 2020-03-25 Alan Modra * testsuite/ld-elf/compress1c.d: xfail h8300. diff --git a/ld/testsuite/ld-ifunc/ifunc-23a-x86.d b/ld/testsuite/ld-ifunc/ifunc-23a-x86.d index a9891407fb6..7359d045755 100644 --- a/ld/testsuite/ld-ifunc/ifunc-23a-x86.d +++ b/ld/testsuite/ld-ifunc/ifunc-23a-x86.d @@ -2,6 +2,7 @@ #ld: #readelf: -r --wide #target: x86_64-*-* i?86-*-* +#notarget: *-*-solaris* Relocation section '.rel(a|).plt' at offset 0x[0-9a-f]+ contains 1 entry: +Offset +Info +Type +Sym.* Value +Symbol's Name.* diff --git a/ld/testsuite/ld-ifunc/ifunc-24a-x86.d b/ld/testsuite/ld-ifunc/ifunc-24a-x86.d index 91e87ee8f4f..7b63a5ceb39 100644 --- a/ld/testsuite/ld-ifunc/ifunc-24a-x86.d +++ b/ld/testsuite/ld-ifunc/ifunc-24a-x86.d @@ -2,6 +2,7 @@ #ld: #readelf: -r --wide #target: x86_64-*-* i?86-*-* +#notarget: *-*-solaris* Relocation section '.rel(a|).plt' at offset 0x[0-9a-f]+ contains 1 entry: +Offset +Info +Type +Sym.* Value +Symbol's Name.* diff --git a/ld/testsuite/ld-ifunc/ifunc-25a-x86.d b/ld/testsuite/ld-ifunc/ifunc-25a-x86.d index 5f49fd83ffc..e07c819ba6f 100644 --- a/ld/testsuite/ld-ifunc/ifunc-25a-x86.d +++ b/ld/testsuite/ld-ifunc/ifunc-25a-x86.d @@ -2,6 +2,7 @@ #ld: #readelf: -r --wide #target: x86_64-*-* i?86-*-* +#notarget: *-*-solaris* Relocation section '.rel(a|).plt' at offset 0x[0-9a-f]+ contains 1 entry: +Offset +Info +Type +Sym.* Value +Symbol's Name.* -- 2.30.2