aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorYing Huang <ying.huang@oss.cipunited.com>2023-11-15 10:30:49 +0800
committerYunQiang Su <yunqiang.su@cipunited.com>2023-11-16 10:21:55 +0800
commit27c22a4c76f753a68c11db22c92931166c9aa634 (patch)
tree4f035b042cc0856cf010564f0b9075f40626c599 /sim/mips
parent66cf42940aacbece5cca84792656b87a0638e551 (diff)
downloadgdb-27c22a4c76f753a68c11db22c92931166c9aa634.zip
gdb-27c22a4c76f753a68c11db22c92931166c9aa634.tar.gz
gdb-27c22a4c76f753a68c11db22c92931166c9aa634.tar.bz2
sim: mips: Change E_MIPS_* to EF_MIPS_*
According to we have changed all E_MIPS_* to EF_MIPS_* in binutils and glibc, we also need to change it here to keep same style. We can refer to this commit record: https://sourceware.org/pipermail/binutils/2023-October/129904.html Approved-By: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/interp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index e521963..f0c5090 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -1557,8 +1557,8 @@ store_word (SIM_DESC sd,
}
#define MIPSR6_P(abfd) \
- ((elf_elfheader (abfd)->e_flags & EF_MIPS_ARCH) == E_MIPS_ARCH_32R6 \
- || (elf_elfheader (abfd)->e_flags & EF_MIPS_ARCH) == E_MIPS_ARCH_64R6)
+ ((elf_elfheader (abfd)->e_flags & EF_MIPS_ARCH) == EF_MIPS_ARCH_32R6 \
+ || (elf_elfheader (abfd)->e_flags & EF_MIPS_ARCH) == EF_MIPS_ARCH_64R6)
/* Load a word from memory. */