From 973bba9164f05b79fe08e6c832ec2ef74bcb91f0 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 7 May 2021 09:14:38 +0930 Subject: [PATCH] Re: elf: Always append ".COUNT" to local symbols Fixes XPASSes on frv-linux. * testsuite/ld-elf/pr27825-1.d: Correct xfail. * testsuite/ld-elf/pr27825-2.d: Likewise. --- ld/ChangeLog | 5 +++++ ld/testsuite/ld-elf/pr27825-1.d | 3 +-- ld/testsuite/ld-elf/pr27825-2.d | 3 +-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 6f6acdfb58..80247c5368 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2021-05-07 Alan Modra + + * testsuite/ld-elf/pr27825-1.d: Correct xfail. + * testsuite/ld-elf/pr27825-2.d: Likewise. + 2021-05-06 Stafford Horne PR 27746 diff --git a/ld/testsuite/ld-elf/pr27825-1.d b/ld/testsuite/ld-elf/pr27825-1.d index c9b1b921f3..bde3536c5b 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 12a1863636..d786fd7daf 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. #... -- 2.34.1