This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sh64-elf (SH5) port
Alexandre Oliva wrote:-
> > Also, please consider dropping hooks.h
>
> And moving the declarations to...?
target-def.h if it's a target hook, since I imagine they would be referred
to by that header.
> > and using target.c instead of hooks.c; this would then be canonical
> > with langhooks*.
>
> Nope. The point is precisely that hooks.c could be used for both
> langhooks and target hooks.
I don't understand why. Or do you plan to scrap langhooks.h and
target.h?
Neil.