This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Incorrect default arm object attributes
- From: Paul Brook <paul at codesourcery dot com>
- To: binutils at sources dot redhat dot com
- Date: Fri, 28 Oct 2005 01:49:43 +0100
- Subject: Incorrect default arm object attributes
The attached patch fixes a thinko in aeabi_set_public_attributes. This meant
if no cpu/arch was specified the object would be marked as armv6t2 rather
than based on what instructions are used.
Tested with cross to arm-none-eabi.
Applied as obvious.
Paul
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-28 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
instead of mcpu_cpu_opt.