Incorrect default arm object attributes

Paul Brook paul@codesourcery.com
Fri Oct 28 00:49:00 GMT 2005


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.
-------------- next part --------------
2005-10-28  Paul Brook  <paul@codesourcery.com>

	* config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
	instead of mcpu_cpu_opt.


More information about the Binutils mailing list