PR gas/3707
* config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt variable.
This commit is contained in:
parent
aa0752514b
commit
493cb6ef0a
@ -1,5 +1,9 @@
|
||||
2007-01-11 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR gas/3707
|
||||
* config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
|
||||
variable.
|
||||
|
||||
* config/tc-mcore.c (md_number_to_chars): Use
|
||||
number_to_chars_{big|little}endian.
|
||||
|
||||
|
@ -19291,9 +19291,9 @@ md_begin (void)
|
||||
|
||||
if (!mfpu_opt)
|
||||
{
|
||||
if (!mcpu_cpu_opt)
|
||||
if (mcpu_cpu_opt != NULL)
|
||||
mfpu_opt = &fpu_default;
|
||||
else if (ARM_CPU_HAS_FEATURE (*mcpu_fpu_opt, arm_ext_v5))
|
||||
else if (mcpu_fpu_opt != NULL && ARM_CPU_HAS_FEATURE (*mcpu_fpu_opt, arm_ext_v5))
|
||||
mfpu_opt = &fpu_arch_vfp_v2;
|
||||
else
|
||||
mfpu_opt = &fpu_arch_fpa;
|
||||
|
Loading…
Reference in New Issue
Block a user