elf: Rename is_standard_elf to uses_elf_em

Rename is_standard_elf to uses_elf_em for targets which use elf.em.

binutils/

	PR ld/31289
	* testsuite/lib/binutils-common.exp (is_standard_elf): Renamed
	to ...
	(uses_elf_em): This.

ld/

	PR ld/31289
	* testsuite/ld-elf/fatal-warnings-2a.d: Replace is_standard_elf
	with uses_elf_em.
	* testsuite/ld-elf/fatal-warnings-2b.d: Likewise.
	* testsuite/ld-elf/fatal-warnings-3a.d: Likewise.
	* testsuite/ld-elf/fatal-warnings-3b.d: Likewise.
	* testsuite/ld-elf/fatal-warnings-4a.d: Likewise.
	* testsuite/ld-elf/fatal-warnings-4b.d: Likewise.
This commit is contained in:
H.J. Lu
2024-01-26 05:56:08 -08:00
parent 0aac62aa32
commit 1b06334552
7 changed files with 8 additions and 8 deletions

View File

@@ -275,8 +275,8 @@ proc is_generic { } {
return 0
}
# Return true if target uses the standard ELF emulation.
proc is_standard_elf { } {
# Return true if target uses elf.em.
proc uses_elf_em { } {
if { ![is_elf_format] || [is_generic] } {
return 0
}