This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] protect he #define's in gcc/config/alpha/elf.h
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: [PATCH] protect he #define's in gcc/config/alpha/elf.h
- From: "David O'Brien" <obrien at FreeBSD dot org>
- Date: Thu, 30 Nov 2000 02:16:46 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: The NUXI BSD group
- References: <20001128170802.A43374@dragon.nuxi.com> <20001128205112.C9793@redhat.com>
- Reply-To: obrien at FreeBSD dot org
On Tue, Nov 28, 2000 at 08:51:12PM -0800, Richard Henderson wrote:
> This whole nonsense really ought to get cleaned up one day.
Agreed.
There is overlap between elfos.h and alpha/elf.h. Would you agree in
principle to this patch?
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config.gcc,v
retrieving revision 1.9
diff -u -r1.9 config.gcc
--- config.gcc 2000/11/28 21:23:57 1.9
+++ config.gcc 2000/11/30 10:15:55
@@ -338,7 +338,7 @@
gas=yes gnu_ld=yes
;;
alpha*-*-linux*libc1*)
- tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
+ tm_file="${tm_file} elfos.h alpha/elf.h alpha/linux.h alpha/linux-elf.h"
target_cpu_default="MASK_GAS"
tmake_file="t-linux t-linux-gnulibc1 alpha/t-alpha alpha/t-crtbe alpha/t-ieee"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
@@ -349,7 +349,7 @@
fi
;;
alpha*-*-linux*)
- tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
+ tm_file="${tm_file} elfos.h alpha/elf.h alpha/linux.h alpha/linux-elf.h"
target_cpu_default="MASK_GAS"
tmake_file="t-linux alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
@@ -360,7 +360,7 @@
fi
;;
alpha*-*-freebsd*)
- tm_file="${tm_file} freebsd.h alpha/elf.h alpha/freebsd.h"
+ tm_file="${tm_file} elfos.h freebsd.h alpha/elf.h alpha/freebsd.h"
target_cpu_default="MASK_GAS"
tmake_file="t-freebsd alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
@@ -375,7 +375,7 @@
esac
;;
alpha*-*-netbsd*)
- tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h"
+ tm_file="${tm_file} elfos.h alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h"
target_cpu_default="MASK_GAS"
tmake_file="alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"