elf: Always append ".COUNT" to local symbols

Alan Modra amodra@gmail.com
Thu May 6 23:57:17 GMT 2021


Fixes XPASSes on frv-linux.

	* testsuite/ld-elf/pr27825-1.d: Correct xfail.
	* testsuite/ld-elf/pr27825-2.d: Likewise.

diff --git a/ld/testsuite/ld-elf/pr27825-1.d b/ld/testsuite/ld-elf/pr27825-1.d
index c9b1b921f3d..bde3536c5b1 100644
--- a/ld/testsuite/ld-elf/pr27825-1.d
+++ b/ld/testsuite/ld-elf/pr27825-1.d
@@ -2,8 +2,7 @@
 #source: pr27825-1b.s
 #ld: -e _start --emit-relocs -z unique-symbol
 #nm: --defined-only
-#xfail: [is_generic]
-#xfail: fr30-*-* frv-*-* ft32-*-* iq2000-*-* mn10200-*-* msp*-* mt-*-*
+#xfail: [uses_genelf]
 # These targets don't support -z.
 
 #...
diff --git a/ld/testsuite/ld-elf/pr27825-2.d b/ld/testsuite/ld-elf/pr27825-2.d
index 12a18636367..d786fd7dafb 100644
--- a/ld/testsuite/ld-elf/pr27825-2.d
+++ b/ld/testsuite/ld-elf/pr27825-2.d
@@ -3,8 +3,7 @@
 #source: pr27825-2c.s
 #ld: -e _start --emit-relocs -z unique-symbol
 #nm: --defined-only
-#xfail: [is_generic]
-#xfail: fr30-*-* frv-*-* ft32-*-* iq2000-*-* mn10200-*-* msp*-* mt-*-*
+#xfail: [uses_genelf]
 # These targets don't support -z.
 
 #...

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list