* config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
	instead of mcpu_cpu_opt.
+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
 
 
   /* 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)