diff options
author | Nick Clifton <nickc@redhat.com> | 2007-01-11 15:22:10 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-01-11 15:22:10 +0000 |
commit | 493cb6ef0a6e706353df9f2eda57f6721c6a0dfe (patch) | |
tree | b9e7f1c6da629c1b904c8bf9946f73a1dc40af85 /gas/config | |
parent | aa0752514b9c4c60fa5802cb594738c52d0fef73 (diff) | |
download | gdb-493cb6ef0a6e706353df9f2eda57f6721c6a0dfe.zip gdb-493cb6ef0a6e706353df9f2eda57f6721c6a0dfe.tar.gz gdb-493cb6ef0a6e706353df9f2eda57f6721c6a0dfe.tar.bz2 |
PR gas/3707
* config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt variable.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-arm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 45b8d2e..6a2756d 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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; |