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]

Fix bootstrap 21481


I've installed this patch to fix the various bootstrap failures reported
in PR 21481.  I will now attempt to discover which #defines really need
exporting to the target config.

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

2005-05-11  Nathan Sidwell  <nathan@codesourcery.com>

	PR bootstrap/21481
	* crtstuff.c: Include auto-host.h again, for now.

Index: crtstuff.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/crtstuff.c,v
retrieving revision 1.74
diff -c -3 -p -r1.74 crtstuff.c
*** crtstuff.c	10 May 2005 10:27:40 -0000	1.74
--- crtstuff.c	11 May 2005 11:19:42 -0000
*************** Software Foundation, 59 Temple Place - S
*** 54,59 ****
--- 54,63 ----
  /* Target machine header files require this define. */
  #define IN_LIBGCC2
  
+ /* FIXME: Including auto-host is incorrect, but until we have
+    identified the set of defines that need to go into auto-target.h,
+    this will have to do.  */
+ #include "auto-host.h"
  #include "tconfig.h"
  #include "tsystem.h"
  #include "coretypes.h"

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