* SHF_GNU_RETAIN 7a and 7b tests
@ 2020-12-24 12:33 Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2020-12-24 12:33 UTC (permalink / raw)
To: binutils
* testsuite/ld-elf/retain7a.d: Don't run on hppa-linux.
* testsuite/ld-elf/retain7b.d: Correct name. Don't run on tic6x.
Allow OSABI FreeBSD.
diff --git a/ld/testsuite/ld-elf/retain7a.d b/ld/testsuite/ld-elf/retain7a.d
index 544ff8a173..314fe0f573 100644
--- a/ld/testsuite/ld-elf/retain7a.d
+++ b/ld/testsuite/ld-elf/retain7a.d
@@ -1,7 +1,8 @@
#name: SHF_GNU_RETAIN 7a
#source: retain7.s
#ld: -e _start --gc-sections
-#notarget: ![supports_gnu_osabi] ![check_gc_sections_available]
+# hppa-linux chooses ELFOSABI_GNU regardless of GNU feature use
+#notarget: ![supports_gnu_osabi] ![check_gc_sections_available] hppa-*-linux*
#readelf: -h
#failif
diff --git a/ld/testsuite/ld-elf/retain7b.d b/ld/testsuite/ld-elf/retain7b.d
index 0e5b12b335..ed158f81f5 100644
--- a/ld/testsuite/ld-elf/retain7b.d
+++ b/ld/testsuite/ld-elf/retain7b.d
@@ -1,10 +1,10 @@
-#name: SHF_GNU_RETAIN 7a
+#name: SHF_GNU_RETAIN 7b
#source: retain7.s
#ld: -r
-#notarget: ![supports_gnu_osabi] ![check_gc_sections_available]
+#notarget: ![supports_gnu_osabi] ![check_gc_sections_available] tic6x-*-*
#readelf: -h
ELF Header:
#...
- OS/ABI: UNIX - GNU
+ OS/ABI: UNIX - (GNU|FreeBSD)
#pass
--
Alan Modra
Australia Development Lab, IBM
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-24 12:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-24 12:33 SHF_GNU_RETAIN 7a and 7b tests Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).