[binutils-gdb] ld: run build-id test on more elf targets
Alan Modra via Binutils-cvs <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ad6e2895e419d17ffa0803e69a89db12b5b75298 commit ad6e2895e419d17ffa0803e69a89db12b5b75298 Author: Alan Modra <[email protected]> Date: Tue Jun 2 15:25:52 2026 +0930 ld: run build-id test on more elf targets Diff: --- ld/testsuite/ld-elf/build-id.exp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/ld/testsuite/ld-elf/build-id.exp b/ld/testsuite/ld-elf/build-id.exp index cabbcbd289a..6899cdbf2a2 100644 --- a/ld/testsuite/ld-elf/build-id.exp +++ b/ld/testsuite/ld-elf/build-id.exp @@ -19,23 +19,10 @@ # MA 02110-1301, USA. # -# Exclude non-ELF targets. - -if ![is_elf_format] { - return -} - -if { [istarget frv-*-*] || [istarget lm32-*-*] } { +if { ![is_elf_format] || [uses_genelf] } { 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"}