From 970fd92d0be6a04212b9ceda31f38c111c367fd3 Mon Sep 17 00:00:00 2001 From: Neale Ferguson Date: Tue, 23 Jan 2007 17:11:29 +0000 Subject: [PATCH] * s390x-codegen.h: Add packed attribute to several instruction structures. svn path=/trunk/mono/; revision=71523 --- mono/arch/s390x/ChangeLog | 4 ++++ mono/arch/s390x/s390x-codegen.h | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/mono/arch/s390x/ChangeLog b/mono/arch/s390x/ChangeLog index e05279d4a94..04742634e80 100644 --- a/mono/arch/s390x/ChangeLog +++ b/mono/arch/s390x/ChangeLog @@ -1,3 +1,7 @@ +2007-01-23 Neale Ferguson + + * s390x-codegen.h: Add packed attribute to several instruction structures. + 2006-03-13 Neale Ferguson * s390x-codegen.h: Fix immediate checks. diff --git a/mono/arch/s390x/s390x-codegen.h b/mono/arch/s390x/s390x-codegen.h index 9ef7475467a..6ae7058e655 100644 --- a/mono/arch/s390x/s390x-codegen.h +++ b/mono/arch/s390x/s390x-codegen.h @@ -272,7 +272,7 @@ typedef struct { char b2 : 4; int d2 : 20; char op2; -} RXY_Format __attribute__ ((packed)); +} __attribute__ ((packed)) RXY_Format; typedef struct { char op; @@ -305,7 +305,7 @@ typedef struct { char b2 : 4; int d2 : 20; char op2; -} RSY_Format_1 __attribute__ ((packed)); +} __attribute__ ((packed)) RSY_Format_1; typedef struct { char op1; @@ -314,7 +314,7 @@ typedef struct { char b2 : 4; int d2 : 20; char op2; -} RSY_Format_2 __attribute__ ((packed)); +} __attribute__ ((packed)) RSY_Format_2; typedef struct { char op1; @@ -354,14 +354,14 @@ typedef struct { char r1 : 4; char op2 : 4; int i2; -} RIL_Format_1 __attribute__ ((packed)); +} __attribute__ ((packed)) RIL_Format_1; typedef struct { char op1; char m1 : 4; char op2 : 4; int i2; -} RIL_Format_2 __attribute__ ((packed)); +} __attribute__ ((packed)) RIL_Format_2; typedef struct { char op; @@ -376,7 +376,7 @@ typedef struct { char b1 : 4; int d1 : 20; char op2; -} SIY_Format __attribute__ ((packed)); +} __attribute__ ((packed)) SIY_Format; typedef struct { short op; @@ -429,7 +429,7 @@ typedef struct { short d1 : 12; char b2 : 4; short d2 : 12; -} SSE_Format __attribute__ ((packed)); +} __attribute__ ((packed)) SSE_Format; #define s390_emit16(c, x) do \ { \ -- 2.11.4.GIT