From: "Ying Huang" <ying.huang@oss.cipunited.com>
To: <gdb-patches@sourceware.org>
Cc: <yunqiang.su@oss.cipunited.com>,
"Ying Huang" <ying.huang@oss.cipunited.com>,
"Pedro Alves" <pedro@palves.net>
Subject: [PATCH v2 2/2] sim: mips: Change E_MIPS_* to EF_MIPS_*
Date: Wed, 15 Nov 2023 10:30:49 +0800 [thread overview]
Message-ID: <20231115023049.435356-3-ying.huang@oss.cipunited.com> (raw)
In-Reply-To: <20231115023049.435356-1-ying.huang@oss.cipunited.com>
From: Ying Huang <ying.huang@oss.cipunited.com>
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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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. */
--
2.30.2
prev parent reply other threads:[~2023-11-15 2:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-15 2:30 [PATCH 0/2] Change all " Ying Huang
2023-11-15 2:30 ` [PATCH v2 1/2] gdb: mips: Change " Ying Huang
2023-11-15 2:30 ` Ying Huang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231115023049.435356-3-ying.huang@oss.cipunited.com \
--to=ying.huang@oss.cipunited.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@palves.net \
--cc=yunqiang.su@oss.cipunited.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).