* [committed, PATCH] Use "else if" on cpu_arch_isa
@ 2015-04-30 15:37 H.J. Lu
0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2015-04-30 15:37 UTC (permalink / raw)
To: binutils
* config/tc-i386.c (i386_target_format): Use "else if" on
cpu_arch_isa.
---
gas/ChangeLog | 5 +++++
gas/config/tc-i386.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9764a24..556c927 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (i386_target_format): Use "else if" on
+ cpu_arch_isa.
+
2015-04-30 Nick Clifton <nickc@redhat.com>
PR gas/18347
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 82abaef..4bcf416 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -10049,7 +10049,7 @@ i386_target_format (void)
as_fatal (_("Intel L1OM is 64bit only"));
return ELF_TARGET_L1OM_FORMAT;
}
- if (cpu_arch_isa == PROCESSOR_K1OM)
+ else if (cpu_arch_isa == PROCESSOR_K1OM)
{
if (x86_elf_abi != X86_64_ABI)
as_fatal (_("Intel K1OM is 64bit only"));
--
1.9.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-30 15:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-30 15:37 [committed, PATCH] Use "else if" on cpu_arch_isa H.J. Lu
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).