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 32168ca72791ba1b1667d818cd50ab26b86c1949..ee8abb228be0570fea4c147e194c674efd11ef25 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 2f090b555f1df98537b9d6a1c2e6f2a1ca560da4..9df9e0eb9ae01734fe0b521bd3d67dd9a8c1452a 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)