1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- $OpenBSD: patch-gcc_config_rs6000_t-openbsd,v 1.1.1.1 2014/06/26 16:30:17 pascal Exp $
- --- gcc/config/rs6000/t-openbsd.orig Mon Nov 14 12:16:44 2011
- +++ gcc/config/rs6000/t-openbsd Mon Nov 14 13:23:24 2011
- @@ -0,0 +1,48 @@
- +# include t-rs6000 too
- +# this is taken from t-ppccomm
- +# but crt* removed.
- +
- +
- +LIB2FUNCS_EXTRA = tramp.S
- +
- +# This one can't end up in shared libgcc
- +LIB2FUNCS_STATIC_EXTRA = eabi.S
- +
- +# We want fine grained libraries, so use the new code to build the
- +# floating point emulation libraries.
- +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
- +
- +eabi.S: $(srcdir)/config/rs6000/eabi.asm
- + cat $(srcdir)/config/rs6000/eabi.asm > eabi.S
- +
- +tramp.S: $(srcdir)/config/rs6000/tramp.asm
- + cat $(srcdir)/config/rs6000/tramp.asm > tramp.S
- +
- +# Switch synonyms
- +MULTILIB_MATCHES_FLOAT = msoft-float=mcpu?401 \
- + msoft-float=mcpu?403 \
- + msoft-float=mcpu?ec603e \
- + msoft-float=mcpu?801 \
- + msoft-float=mcpu?821 \
- + msoft-float=mcpu?823 \
- + msoft-float=mcpu?860
- +MULTILIB_MATCHES_ENDIAN = mlittle=mlittle-endian mbig=mbig-endian
- +MULTILIB_MATCHES_SYSV = mcall-sysv=mcall-sysv-eabi mcall-sysv=mcall-sysv-noeabi mcall-sysv=mcall-linux mcall-sysv=mcall-netbsd
- +
- +LIBGCC = stmp-multilib
- +INSTALL_LIBGCC = install-multilib
- +
- +# It is important that crtbegin.o, etc., aren't surprised by stuff in .sdata.
- +CRTSTUFF_T_CFLAGS = -msdata=none
- +# Make sure crt*.o are built with -fPIC even if configured with
- +# --enable-shared --disable-multilib
- +CRTSTUFF_T_CFLAGS_S = -fPIC -msdata=none
|