This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH]: Make GAS --64 behavior more reasonable on sparc.
- From: David Miller <davem at davemloft dot net>
- To: binutils at sourceware dot org
- Date: Wed, 18 Mar 2009 18:18:14 -0700 (PDT)
- Subject: Re: [PATCH]: Make GAS --64 behavior more reasonable on sparc.
- References: <20090313.140718.93561843.davem@davemloft.net>
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?