aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-01-26 05:56:08 -0800
committerH.J. Lu <hjl.tools@gmail.com>2024-01-26 07:32:03 -0800
commit1b06334552f33015a6293571e9381d43dec3a5d3 (patch)
tree1f82ca282d370cc9ec23aabf261bc5eed9f06d18 /binutils
parent0aac62aa3256719c37be9e0ce6af8b190f45c928 (diff)
downloadgdb-1b06334552f33015a6293571e9381d43dec3a5d3.zip
gdb-1b06334552f33015a6293571e9381d43dec3a5d3.tar.gz
gdb-1b06334552f33015a6293571e9381d43dec3a5d3.tar.bz2
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.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/lib/binutils-common.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp
index b304801..2fca43b 100644
--- a/binutils/testsuite/lib/binutils-common.exp
+++ b/binutils/testsuite/lib/binutils-common.exp
@@ -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
}