This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: libgcc2 versus x86_64 Ada


>>>>> Jan Hubicka writes:

Jan> Hmm, that is also possible.  I didn't noticed we do have IN_LIBGCC2.
Jan> Is that considered cleaner approach than the former?
Jan> (we do use the LIBGCC2_* macros for some other stuff and from some kind
Jan> it looks to me cleaner to not reuse same macro for two different purposes)

	Yes, I think using IN_LIBGCC2 is cleaner and it allows you to
limit the modifications to i386.h only.  Such a change might even be
considered "obvious".

	I am planning to use that approach for PowerPC.  As I mentioned
before, the Sparc port uses it as well.  There is no need for another
macro in libgcc2.c.

David


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