summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/configure
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-18 06:50:39 +0000
committerpeter <peter@FreeBSD.org>1996-09-18 06:50:39 +0000
commit59ec5b8a7a5f5726b3d8129a7e1f660881b4235a (patch)
tree917249792f7cf95d2fba511343261bd26d492138 /contrib/gcc/configure
parente1223082127bb2b1757f5524cec85a0fe6c026f5 (diff)
downloadFreeBSD-src-59ec5b8a7a5f5726b3d8129a7e1f660881b4235a.zip
FreeBSD-src-59ec5b8a7a5f5726b3d8129a7e1f660881b4235a.tar.gz
Add in hooks to produce assembler output suitable for binutils+elf
Obtained from: John Polstra <jdp@freebsd.org>, from his elfkit.
Diffstat (limited to 'contrib/gcc/configure')
-rwxr-xr-xcontrib/gcc/configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/gcc/configure b/contrib/gcc/configure
index 1be333c..f6ce879 100755
--- a/contrib/gcc/configure
+++ b/contrib/gcc/configure
@@ -931,6 +931,17 @@ for machine in $canon_build $canon_host $canon_target; do
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
# use_collect2=yes
;;
+ i[345]86-*-freebsdelf*)
+ cpu_type=i386
+ tm_file=i386/freebsd-elf.h
+ xm_file=i386/xm-freebsd.h
+ # On FreeBSD, the headers are already ok.
+ fixincludes=Makefile.in
+ xmake_file=i386/x-freebsd
+ gas=yes
+ gnu_ld=yes
+ stabs=yes
+ ;;
i[345]86-*-freebsd*)
cpu_type=i386
tm_file=i386/freebsd.h
OpenPOWER on IntegriCloud