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: "law at redhat dot com" <law at redhat dot com>, "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: Converting tm.h macros to functions
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 18 Jun 2001 12:07:06 -0700
- cc: Neil Booth <neil at daikokuya dot demon dot co dot uk>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
> As a whole, I like what I'm seeing. The only thing I would caution is not
> to fall into the same hole as BFD where nobody dares update the target
> vector because they have to twiddle so many *&@#$ config files not to
> mention it's not real obvious where/how to add items to the vector anyway.
>
Right. The TARGET_INITIALIZER trick avoids the problem of having to modify
config files; it's no harder to add a new vector entry than it is now.
The "not real obvious" problem we've already got. :-( I don't think this
will make it any worse...
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com