aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/t-lynx
diff options
context:
space:
mode:
authorAdam Nemet <anemet@lnxw.com>2004-08-05 04:55:37 +0000
committerAdam Nemet <nemet@gcc.gnu.org>2004-08-05 04:55:37 +0000
commit4f587cb0d4e98c7e7960c32b775c7dfb4fd55e41 (patch)
tree23899f0239bbb781c6aec626b7661ea04b1cc069 /gcc/config/rs6000/t-lynx
parent852910694f6d4480afd733a62fd6b93de62b51e6 (diff)
downloadgcc-4f587cb0d4e98c7e7960c32b775c7dfb4fd55e41.zip
gcc-4f587cb0d4e98c7e7960c32b775c7dfb4fd55e41.tar.gz
gcc-4f587cb0d4e98c7e7960c32b775c7dfb4fd55e41.tar.bz2
config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.
* config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0. (case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*. Update to LynxOS 4.0. * gthr-lynx.h: New file. * config/lynx-ng.h: Remove file. * config/lynx.h: Update to LynxOS 4.0. * config/t-lynx: New file. * config/i386/lynx-ng.h: Remove file. * config/i386/lynx.h: Update to LynxOS 4.0. * config/rs6000/lynxbase.h: Remove file. * config/rs6000/lynx.h: Update to LynxOS 4.0. * config/rs6000/t-lynx: New file. * doc/install.texi (Options specification): Remove reference to LynxOS from systems where --with-gnu-as makes a difference. From-SVN: r85591
Diffstat (limited to 'gcc/config/rs6000/t-lynx')
-rw-r--r--gcc/config/rs6000/t-lynx38
1 files changed, 38 insertions, 0 deletions
diff --git a/gcc/config/rs6000/t-lynx b/gcc/config/rs6000/t-lynx
new file mode 100644
index 0000000..429f641
--- /dev/null
+++ b/gcc/config/rs6000/t-lynx
@@ -0,0 +1,38 @@
+LIB2FUNCS_EXTRA = tramp.S
+
+tramp.S: $(srcdir)/config/rs6000/tramp.asm
+ cat $(srcdir)/config/rs6000/tramp.asm > tramp.S
+
+FPBIT = fp-bit.c
+DPBIT = dp-bit.c
+
+dp-bit.c: $(srcdir)/config/fp-bit.c
+ cat $(srcdir)/config/fp-bit.c > dp-bit.c
+
+fp-bit.c: $(srcdir)/config/fp-bit.c
+ echo '#define FLOAT' > fp-bit.c
+ cat $(srcdir)/config/fp-bit.c >> fp-bit.c
+
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib
+
+MULTILIB_OPTIONS += msoft-float
+MULTILIB_DIRNAMES += soft-float
+
+MULTILIB_OPTIONS += maltivec
+MULTILIB_DIRNAMES += altivec
+
+MULTILIB_EXCEPTIONS = *msoft-float/*maltivec*
+
+EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
+
+# If .sdata is enabled __CTOR_{LIST,END}__ go into .sdata instead of
+# .ctors.
+CRTSTUFF_T_CFLAGS = -mno-sdata
+
+# Compile crtbeginS.o and crtendS.o with pic.
+CRTSTUFF_T_CFLAGS_S = -fPIC -mno-sdata
+
+Local Variables:
+mode: makefile
+End: