[PATCH]: Make GAS --64 behavior more reasonable on sparc.

David Miller davem@davemloft.net
Thu Mar 19 01:18:00 GMT 2009


From: David Miller <davem@davemloft.net>
Date: Fri, 13 Mar 2009 14:07:18 -0700 (PDT)

> 
> If the user gives us --64 on the command-line, it makes no
> sense to restict instructions to pre-V9 architectures.
> 
> This also fixes the LD testsuite when run on 32-bit sparc.
> Specifically sparc.exp's gotopt64.s is built with GAS using
> --64 but this is rejected because the architecture is set
> to the default, which is 'sparclite', and that doesn't make
> any sense.
> 
> At some point we should bump DEFAULT_ARCH as is suggested by the
> comment above it's definition.  But that's a seperate change.
> 
> Ok to apply?
> 
> 2009-03-13  David S. Miller  <davem@davemloft.net>
> 
> 	* config/tc-sparc.c (md_parse_option): If the user gives
> 	us '--64' make sure max_architecture is at least V9.

Ping?



More information about the Binutils mailing list