ping: back end reinitialization hooks to support mixed mips16/nomips16 compilation in same file
Ian Lance Taylor
iant@google.com
Wed Jul 11 03:55:00 GMT 2007
Mark Mitchell <mark@codesourcery.com> writes:
> Ian Lance Taylor wrote:
>
> > Short of the ideal of encapsulating the global info in a structure, we
> > need a single function which initializes everything based on the
> > current target state. That function should be called at compiler
> > startup, and it may be called by the backend when appropriate. I
> > think that a _reinit function which is not called at startup is simply
> > going to rot over time.
>
> If backend_reinit were the very last function called by the normal
> at-startup GCC initialization machinery, would you feel more comfortable
> about it?
Yes.
Ian
More information about the Gcc-patches
mailing list