Module Name:    src
Committed By:   matt
Date:           Sun Aug 23 20:28:58 UTC 2009

Modified Files:
        src/gnu/dist/gcc4/gcc/config/mips [matt-nb5-mips64]: netbsd64.h
Added Files:
        src/gnu/dist/gcc4/gcc/config/mips [matt-nb5-mips64]: t-netbsd64

Log Message:
For now, make LONG_DOUBLE 64bit on N32/N64 until libgcc issue is addressed.
Add vestigal MULTILIB support for mips64.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/gnu/dist/gcc4/gcc/config/mips/netbsd64.h
cvs rdiff -u -r0 -r1.1.2.1 src/gnu/dist/gcc4/gcc/config/mips/t-netbsd64

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/dist/gcc4/gcc/config/mips/netbsd64.h
diff -u src/gnu/dist/gcc4/gcc/config/mips/netbsd64.h:1.1.2.1 src/gnu/dist/gcc4/gcc/config/mips/netbsd64.h:1.1.2.2
--- src/gnu/dist/gcc4/gcc/config/mips/netbsd64.h:1.1.2.1	Sun Aug 16 02:55:13 2009
+++ src/gnu/dist/gcc4/gcc/config/mips/netbsd64.h	Sun Aug 23 20:28:58 2009
@@ -52,3 +52,8 @@
    %{bestGnum} %{call_shared} %{no_archive} %{exact_version} \
    %(netbsd_link_spec)"
 
+#undef LONG_DOUBLE_TYPE_SIZE
+#define LONG_DOUBLE_TYPE_SIZE 64
+
+#undef LIBGCC2_LONG_DOUBLE_TYPE_SIZE
+#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 64

Added files:

Index: src/gnu/dist/gcc4/gcc/config/mips/t-netbsd64
diff -u /dev/null src/gnu/dist/gcc4/gcc/config/mips/t-netbsd64:1.1.2.1
--- /dev/null	Sun Aug 23 20:28:58 2009
+++ src/gnu/dist/gcc4/gcc/config/mips/t-netbsd64	Sun Aug 23 20:28:58 2009
@@ -0,0 +1,9 @@
+# NetBSD has (will have) "non-native" libraries in /usr/lib/<arch>.
+# For NetBSD/mips64 we thus have /usr/lib and /usr/lib/abiN64.
+
+MULTILIB_OPTIONS = mabi=n32/mabi=64/mabi=32
+MULTILIB_DIRNAMES = n32 n64 o32
+MULTILIB_OSDIRNAMES = . ../lib/abiN64 ../lib/abiO32
+
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib

Reply via email to