diff options
author | Jason Thorpe <thorpej@wasabisystems.com> | 2002-11-26 00:05:07 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@gcc.gnu.org> | 2002-11-26 00:05:07 +0000 |
commit | a4967b8db12d7f2d9b0d80830507f806c4c36e5b (patch) | |
tree | 66344fe13c49f92ccfb74c0b6a88293f1092c73d /gcc/config/rs6000/t-netbsd | |
parent | c4f6640537ff392ad466a83796e68fb79b512bee (diff) | |
download | gcc-a4967b8db12d7f2d9b0d80830507f806c4c36e5b.zip gcc-a4967b8db12d7f2d9b0d80830507f806c4c36e5b.tar.gz gcc-a4967b8db12d7f2d9b0d80830507f806c4c36e5b.tar.bz2 |
config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with "netbsd.h netbsd-elf.h" in tm_file.
* config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with
"netbsd.h netbsd-elf.h" in tm_file. Set tmake_file to
"${tmake_file} rs6000/t-netbsd".
* config/rs6000/netbsd.h: Rewrite.
* config/rs6000/t-netbsd: New file.
From-SVN: r59479
Diffstat (limited to 'gcc/config/rs6000/t-netbsd')
-rw-r--r-- | gcc/config/rs6000/t-netbsd | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gcc/config/rs6000/t-netbsd b/gcc/config/rs6000/t-netbsd new file mode 100644 index 0000000..0cb08e7 --- /dev/null +++ b/gcc/config/rs6000/t-netbsd @@ -0,0 +1,42 @@ +# Support for NetBSD PowerPC ELF targets (SVR4 ABI). + +LIB2FUNCS_EXTRA = tramp.S + +tramp.S: $(srcdir)/config/rs6000/tramp.asm + cat $(srcdir)/config/rs6000/tramp.asm > tramp.S + +crtsavres.S: $(srcdir)/config/rs6000/crtsavres.asm + cat $(srcdir)/config/rs6000/crtsavres.asm >crtsavres.S + +EXTRA_PARTS += crtsavres$(objext) + +# It is important that crtbegin.o, etc., aren't surprised by stuff in .sdata. +CRTSTUFF_T_CFLAGS += -msdata=none +CRTSTUFF_T_CFLAGS_S += -msdata=none + +# Switch synonyms +MULTILIB_MATCHES_FLOAT = msoft-float=mcpu?401 \ + msoft-float=mcpu?403 \ + msoft-float=mcpu?405 \ + msoft-float=mcpu?ec603e \ + msoft-float=mcpu?801 \ + msoft-float=mcpu?821 \ + msoft-float=mcpu?823 \ + msoft-float=mcpu?860 + +MULTILIB_OPTIONS = msoft-float +MULTILIB_DIRNAMES = soft-float +MULTILIB_EXTRA_OPTS = fPIC mstrict-align +MULTILIB_EXCEPTIONS = + +MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT} + +LIBGCC = stmp-multilib +INSTALL_LIBGCC = install-multilib +EXTRA_MULTILIB_PARTS = crtbegin$(objext) crtend$(objext) \ + crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext) \ + crtsavres$(objext) + +$(T)crtsavres$(objext): crtsavres.S + $(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS) \ + -c crtsavres.S -o $(T)crtsavres$(objext) |