From: Ying Huang Date: Wed, 15 Nov 2023 02:30:49 +0000 (+0800) Subject: sim: mips: Change E_MIPS_* to EF_MIPS_* X-Git-Tag: binutils-2_42~949 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27c22a4c76f753a68c11db22c92931166c9aa634;p=thirdparty%2Fbinutils-gdb.git 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 --- diff --git a/sim/mips/interp.c b/sim/mips/interp.c index e521963a902..f0c509021a4 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. */