This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Clean-up backend ASM_FINAL_SPEC usage


Roger Sayle <roger@eyesopen.com> writes:

> The following patch cleans up most of the unnecessary references to
> ASM_FINAL_SPEC in the various GCC back-ends.  After this clean-up,
> the only backends that define ASM_FINAL_SPEC are mips and alpha.
> This makes is clearer that the ASM_FINAL_SPEC is currently only used
> for invoking mips-tfile.

This is OK.

> I'm investigating PR target/6077, which shows that the only
> non-empty definitions of ASM_FINAL_SPEC are currently broken.  One
> possible fix may be to change the semantics of ASM_FINAL_SPEC or
> even remove it completely, which is why cleaning up this area is an
> excellent first step.

mips-tfile is used only for ECOFF alpha and mips, and only when GAS is
not used.  One obvious tactic would be to require GAS for such
targets, thus eliminating the need for mips-tfile entirely.  I'm not
sure what the situation is on alpha, but Richard Sandiford believes
that support for -mmips-as on MIPS ECOFF is currently broken in
other ways.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]