2005-10-28 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Fri, 28 Oct 2005 00:50:03 +0000 (00:50 +0000)
committerPaul Brook <paul@codesourcery.com>
Fri, 28 Oct 2005 00:50:03 +0000 (00:50 +0000)
* config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
instead of mcpu_cpu_opt.

gas/ChangeLog
gas/config/tc-arm.c

index 32168ca..ee8abb2 100644 (file)
@@ -1,3 +1,8 @@
+2005-10-28  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
+       instead of mcpu_cpu_opt.
+
 2005-10-27  Sterling Augustine  <sterling@tensilica.com>
 
        * config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to
index 2f090b5..9df9e0e 100644 (file)
@@ -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)