diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2001-07-13 18:12:22 +0000 |
---|---|---|
committer | Marc Espie <espie@gcc.gnu.org> | 2001-07-13 18:12:22 +0000 |
commit | f1cf4606f967d6cd202d2157e43a25ab4af2bb00 (patch) | |
tree | 85a550762d0c195f69d066c9199eb145b33ed9ab /gcc/config.gcc | |
parent | 998d20d22a7632ac162773c0561bc8cd6f269f26 (diff) | |
download | gcc-f1cf4606f967d6cd202d2157e43a25ab4af2bb00.zip gcc-f1cf4606f967d6cd202d2157e43a25ab4af2bb00.tar.gz gcc-f1cf4606f967d6cd202d2157e43a25ab4af2bb00.tar.bz2 |
config.gcc (*-*-openbsd*): Add fragment to compile libgcc correctly for shared configurations.
2001-07-13 Marc Espie <espie@cvs.openbsd.org>
* config.gcc (*-*-openbsd*): Add fragment to compile libgcc
correctly for shared configurations.
* config/t-libgcc-pic: New.
* config/{i386,m68k,sparc}/t-openbsd: New.
* config/openbsd.h: Include cpu_spec in cpp_spec where needed.
Support -shared. Support debugging libraries with -g.
* config/i386/openbsd.h: Correct ASM_COMMENT_START. Ensure dwarf2
frame information does not emit pointer diffs.
* config/sparc/openbsd.h: Ensure dwarf2 frame information does not
emit pointer diffs.
From-SVN: r43988
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index b5d01dc..932b00d 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -286,7 +286,7 @@ case $machine in ;; *-*-openbsd*) tm_file=${cpu_type}/openbsd.h - tmake_file="t-libc-ok t-openbsd" + tmake_file="t-libc-ok t-openbsd t-libgcc-pic" xm_defines=POSIX if test x$enable_threads = xyes; then thread_file='posix' @@ -1058,6 +1058,8 @@ i[34567]86-*-netbsd*) use_collect2=yes ;; i[34567]86-*-openbsd*) + # needed to unconfuse gdb + tmake_file="t-libc-ok t-openbsd i386/t-openbsd" # we need collect2 until our bug is fixed... use_collect2=yes ;; @@ -1859,6 +1861,8 @@ m68k*-*-netbsd*) use_collect2=yes ;; m68k*-*-openbsd*) + # needed to unconfuse gdb + tmake_file="t-libc-ok t-openbsd m68k/t-openbsd" float_format=m68k # we need collect2 until our bug is fixed... use_collect2=yes @@ -2830,6 +2834,8 @@ sparc-*-netbsd*) use_collect2=yes ;; sparc-*-openbsd*) + # needed to unconfuse gdb + tmake_file="t-libc-ok t-openbsd sparc/t-openbsd" # we need collect2 until our bug is fixed... use_collect2=yes ;; |