[PATCH] include dbxelf.h via tm_file rather than thru elfos.h.
David O'Brien
obrien@FreeBSD.org
Mon Dec 10 15:23:00 GMT 2001
On Tue, Dec 11, 2001 at 12:00:39AM +0100, Rainer Orth wrote:
> This patch broke the sparc-sun-solaris2.8 bootstrap:
> config/sparc/sol2-sld-64.h is one remaining file that included elfos.h
> directly, not via config.gcc.
...
> Index: gcc/config/sparc/sol2-sld-64.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/config/sparc/sol2-sld-64.h,v
> retrieving revision 1.19
> diff -u -p -r1.19 sol2-sld-64.h
> --- sol2-sld-64.h 2001/11/14 21:44:20 1.19
> +++ sol2-sld-64.h 2001/12/10 22:42:03
> @@ -6,6 +6,7 @@
> #endif
>
> #include "sparc/sparc.h"
> +#include "dbxelf.h"
> #include "elfos.h"
> #include "svr4.h"
> #include "sparc/sysv4.h"
A better patch would be to move dbxelf.h to tm_files for your target and
see if things still work fine. I suspect they will.
More information about the Gcc-patches
mailing list