On Thu, 19 Jun 2014 15:37:19 +0800 Sphinx Jiang <[email protected]> wrote:
> 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)

Ohh, on N32 project __mips64 is also defined, it means that 64bit
registers are available.
So for N64, we should use

#if defined(__mips64) && defined(__LP64__)

>  #define        _LONG_ALIGNMENT                 8
>  #define        _LONG_LONG_ALIGNMENT            8
>  #define        _DOUBLE_ALIGNMENT               8

I NMUed it with the attached patch.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
https://lists.debian.org/cakcpw6vxn5jx4_ry_g9vpsmul8tuviqpsuipp9ypjq+opo2...@mail.gmail.com

Reply via email to