aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-10-28 00:50:03 +0000
committerPaul Brook <paul@codesourcery.com>2005-10-28 00:50:03 +0000
commit2e10c237f68a68f1ec4f02eeb390871a720d8072 (patch)
tree12583c32cad87b1a94d649ec353e1d5c70ff6de3 /gas
parentb2efcd36528464df78f6ffdde4be819cf70ac393 (diff)
downloadfsf-binutils-gdb-2e10c237f68a68f1ec4f02eeb390871a720d8072.zip
fsf-binutils-gdb-2e10c237f68a68f1ec4f02eeb390871a720d8072.tar.gz
fsf-binutils-gdb-2e10c237f68a68f1ec4f02eeb390871a720d8072.tar.bz2
2005-10-28 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu instead of mcpu_cpu_opt.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 32168ca7..ee8abb2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
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)