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: [PATCH] include dbxelf.h via tm_file rather than thru elfos.h.


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.


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