aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 2f090b5..9df9e0e 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -13274,7 +13274,7 @@ aeabi_set_public_attributes (void)
/* Choose the architecture based on the capabilities of the requested cpu
(if any) and/or the instructions actually used. */
- flags = mcpu_cpu_opt | arm_arch_used | thumb_arch_used;
+ flags = selected_cpu | mfpu_opt | arm_arch_used | thumb_arch_used;
if (flags & ARM_EXT_V6T2)
arch = 8;
else if (flags & ARM_EXT_V6Z)