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]

Re: Patch to fix i960 build



	Wed Mar 14 00:03:46 EST 2001  John Wehle  (john@feith.com)

		* i960.c (c_lex_func): New variable.
		(i960_pr_align, i960_pr_noalign): Use it.
		(i960_init_pragma): New function.
		* i960.h (REGISTER_TARGET_PRAGMAS): Call it.
		* i960-protos.h (c4x_init_pragma): New prototype.

This is OK.

While looking into this, I noticed that the v850 port implements a second
way of solving this problem.  It puts the pragma functions into a separate
file, which is then only linked into the C and C++ compilers via config.gcc
variables c_target_objs and cxx_target_objs.

Jim


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