[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#752059: ctfutils: add mips64 support



Package:ctfutils
Version: 9.2-5
Severity: important
Tags: patch

This patch add the support for mips64, tested on mips64el device.
Index: ctfutils-9.2/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h
===================================================================
--- ctfutils-9.2.orig/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h    2011-02-28 03:41:40.000000000 +0800
+++ ctfutils-9.2/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h 2014-06-19 15:22:27.320825153 +0800
@@ -403,7 +403,7 @@
 #define        _INT_ALIGNMENT                  4
 #define        _FLOAT_ALIGNMENT                4
 #define        _FLOAT_COMPLEX_ALIGNMENT        4
-#if defined(__mips_n64)
+#if defined(__mips64)
 #define        _LONG_ALIGNMENT                 8
 #define        _LONG_LONG_ALIGNMENT            8
 #define        _DOUBLE_ALIGNMENT               8

Reply to: