This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Converting tm.h macros to functions
- To: meissner at cygnus dot com (Michael Meissner)
- Subject: Re: Converting tm.h macros to functions
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Fri, 22 Jun 2001 19:25:38 +0100 (BST)
- Cc: neil at daikokuya dot demon dot co dot uk (Neil Booth),mark at codesourcery dot com (Mark Mitchell),jsm28 at cam dot ac dot uk (Joseph S. Myers), gcc at gcc dot gnu dot org (gcc at gcc dot gnu dot org)
> 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.