From 2e10c237f68a68f1ec4f02eeb390871a720d8072 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Fri, 28 Oct 2005 00:50:03 +0000 Subject: [PATCH] 2005-10-28 Paul Brook * config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu instead of mcpu_cpu_opt. --- gas/ChangeLog | 5 +++++ gas/config/tc-arm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 32168ca7279..ee8abb228be 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2005-10-28 Paul Brook + + * config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu + instead of mcpu_cpu_opt. + 2005-10-27 Sterling Augustine * config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 2f090b555f1..9df9e0eb9ae 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) -- 2.30.2