[02/25] Specs cleanup: assembler -v/-V (SPARC)
Joseph S. Myers
joseph@codesourcery.com
Fri Jan 14 18:18:00 GMT 2011
On Fri, 14 Jan 2011, Eric Botcazou wrote:
> > In <http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00195.html> I removed
> > various %{v} and %{v:-V} assembler specs that would only be used with
> > the GNU assembler. This patch removes some more such specs; none of
> > these end up being used on Solaris, the only SPARC target that may use
> > a non-GNU assembler. OK to commit?
> >
> > 2011-01-13 Joseph Myers <joseph@codesourcery.com>
> >
> > * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
> > * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
> > * config/sparc/sysv4.h (ASM_SPEC): Likewise.
>
> I'd leave it in config/sparc/sysv4.h for the mythical SPARC/svr4 assembler.
>
> OK for 4.6 with this change.
I'll apply with that change for now, and likewise for the other patches
but if any targets turn out to be using ASM_SPEC from sparc/sysv4.h that
shouldn't get the -Ym, the result will be adding new versions of ASM_SPEC
to other headers (meaning nothing at all ends up using ASM_SPEC from
sparc/sysv4.h) to avoid adding inappropriate options to .opt files. (I
generally think config/<arch>/sysv4.h headers suffer the same problems (of
there being no generic SVR4 targets for which they are appropriate) that
resulted in my eliminating the config/svr4.h file, although to a lesser
extent.)
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list