aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-04-30 08:36:17 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-04-30 08:36:17 -0700
commitb49f93f6995a5d23c752db103902314d4e23f761 (patch)
tree752b377b211115c398a5208e664381a3b9194c02 /gas
parent153a27763ccc9979fdb5f342e21eb1666c8f117b (diff)
downloadgdb-b49f93f6995a5d23c752db103902314d4e23f761.zip
gdb-b49f93f6995a5d23c752db103902314d4e23f761.tar.gz
gdb-b49f93f6995a5d23c752db103902314d4e23f761.tar.bz2
Use "else if" on cpu_arch_isa
* config/tc-i386.c (i386_target_format): Use "else if" on cpu_arch_isa.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c2
2 files changed, 6 insertions, 1 deletions
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"));