SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
51
lang/gcc/8/patches/patch-gcc_config_rs6000_t-openbsd
Normal file
51
lang/gcc/8/patches/patch-gcc_config_rs6000_t-openbsd
Normal file
|
@ -0,0 +1,51 @@
|
|||
--- 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
|
Loading…
Add table
Add a link
Reference in a new issue