[PATCH] ld/testsuite: enable build-id for ELF platforms

Clément Chigot chigot@adacore.com
Fri May 29 13:32:54 GMT 2026


--build-id is defined within elf.em and thus should be available for
all platforms matching "is_elf_format".
---
 ld/testsuite/ld-elf/build-id.exp | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/ld/testsuite/ld-elf/build-id.exp b/ld/testsuite/ld-elf/build-id.exp
index cabbcbd289a..15f90d3205e 100644
--- a/ld/testsuite/ld-elf/build-id.exp
+++ b/ld/testsuite/ld-elf/build-id.exp
@@ -29,13 +29,6 @@ if { [istarget frv-*-*] || [istarget lm32-*-*] } {
     return
 }
 
-if { !([istarget *-*-linux*]
-       || [istarget arm*-*-uclinuxfdpiceabi]
-       || [istarget *-*-gnu*]) } then {
-    return
-}
-
-
 set stylelist {"" "--build-id" "--build-id=none" "--build-id=md5"
     "--build-id=sha1" "--build-id=guid" "--build-id=0xdeadbeef"}
 
-- 
2.43.0



More information about the Binutils mailing list