forked from Imagelibrary/binutils-gdb
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user