This is the mail archive of the gcc@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]

Re: Converting tm.h macros to functions


> This way, gcc_default_target_initialization does all of the standard things.
> If config/elf.h for instance has a bunch of common setup, it would use its hook
> to modify things after the default initialization.  Then if say config/svr4.h
> wants to further change things it can.  Finally the machine is given a chance
> to override things.

But then, you could just have the initialization in tm.h call the stuff
from elf and svr4 before doing its final adjustments.  No need to add
even more macros.


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