summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/config.gcc
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-04-17 03:46:23 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-04-17 03:46:23 +0000
commit947f64b4d9f811dc085475f610c24dfe35243518 (patch)
tree3bbc69313c7669d9f3e81f2e98339a6c5e64a5d1 /gnu/egcs/gcc/config.gcc
parent0019be2edbe117052bcac6bf9686ab6812a41da6 (diff)
Change gcc to generate ELF code for i386.
Diffstat (limited to 'gnu/egcs/gcc/config.gcc')
-rw-r--r--gnu/egcs/gcc/config.gcc12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/config.gcc b/gnu/egcs/gcc/config.gcc
index af9e9638719..5267fe28ad0 100644
--- a/gnu/egcs/gcc/config.gcc
+++ b/gnu/egcs/gcc/config.gcc
@@ -717,13 +717,23 @@ i[34567]86-*-netbsd*)
tmake_file=t-netbsd
use_collect2=yes
;;
-i[34567]86-*-openbsd*)
+# Change ...[012] to i[34567]86-*-openbsd3.[0123] after we move to 3.4
+i[34567]86-*-openbsd2* | i[34567]86-*-openbsd3.[012])
# needed to unconfuse gdb
tm_file="${tm_file} exec-stack.h"
tmake_file="t-libc-ok t-openbsd i386/t-openbsd"
# we need collect2 until our bug is fixed...
use_collect2=yes
;;
+i[34567]86-*-openbsd*)
+ # needed to unconfuse gdb
+ tm_file="${tm_file} exec-stack.h"
+ tmake_file="t-libc-ok t-openbsd i386/t-openbsd"
+ tm_file="i386/i386.h i386/att.h svr4.h i386/openbsdelf.h i386/perform.h"
+ gas=yes
+ gnu_ld=yes
+ stabs=yes
+ ;;
i[34567]86-*-coff*)
tm_file=i386/i386-coff.h
tmake_file=i386/t-i386bare