summaryrefslogtreecommitdiff
path: root/gcc/config/sparc/t-openbsd
diff options
context:
space:
mode:
authorespie <espie@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-13 18:12:22 +0000
committerespie <espie@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-13 18:12:22 +0000
commitc7be79ca013cc10b9abb223f426ab6c3db1d0b33 (patch)
tree85a550762d0c195f69d066c9199eb145b33ed9ab /gcc/config/sparc/t-openbsd
parentc584b99b3a2cf2486f216f1a435b0e691f33a07d (diff)
downloadgcc-c7be79ca013cc10b9abb223f426ab6c3db1d0b33.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43988 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc/t-openbsd')
-rw-r--r--gcc/config/sparc/t-openbsd5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/sparc/t-openbsd b/gcc/config/sparc/t-openbsd
new file mode 100644
index 00000000000..898a24e079d
--- /dev/null
+++ b/gcc/config/sparc/t-openbsd
@@ -0,0 +1,5 @@
+# The native linker doesn't handle linking -fpic code with -fPIC code. Ugh.
+# We cope by building both variants of libgcc.
+MULTILIB_OPTIONS = fpic/fPIC
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib