Use "else if" on cpu_arch_isa

* config/tc-i386.c (i386_target_format): Use "else if" on
	cpu_arch_isa.
This commit is contained in:
H.J. Lu
2015-04-30 08:36:17 -07:00
parent 153a27763c
commit b49f93f699
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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"));