diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-17 03:46:23 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-17 03:46:23 +0000 |
commit | 947f64b4d9f811dc085475f610c24dfe35243518 (patch) | |
tree | 3bbc69313c7669d9f3e81f2e98339a6c5e64a5d1 /gnu/egcs/gcc/config.gcc | |
parent | 0019be2edbe117052bcac6bf9686ab6812a41da6 (diff) |
Change gcc to generate ELF code for i386.
Diffstat (limited to 'gnu/egcs/gcc/config.gcc')
-rw-r--r-- | gnu/egcs/gcc/config.gcc | 12 |
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 |