]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: mips: Change E_MIPS_* to EF_MIPS_*
authorYing Huang <ying.huang@oss.cipunited.com>
Wed, 15 Nov 2023 02:30:49 +0000 (10:30 +0800)
committerYunQiang Su <yunqiang.su@cipunited.com>
Thu, 16 Nov 2023 02:21:55 +0000 (10:21 +0800)
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>
sim/mips/interp.c

index e521963a902fa2ef83a9ad01641ea5d3416f77b7..f0c509021a41cf6e2623942a2086692b90c901b8 100644 (file)
@@ -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.  */