aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/test-i386.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-12 16:40:41 +0200
committerRichard Henderson <rth@twiddle.net>2013-02-18 15:03:54 -0800
commit40475087a5ee80f5251dac6087142458d8dc7d99 (patch)
tree14a57b2e52607c9f839732789bc54007945cbd99 /tests/tcg/test-i386.c
parent7d2a929feba319c18603e324b1750830d6c8b7a1 (diff)
test-i386: QEMU_PACKED is not defined here
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tests/tcg/test-i386.c')
-rw-r--r--tests/tcg/test-i386.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tcg/test-i386.c b/tests/tcg/test-i386.c
index 6dc730d882..b18fe20c76 100644
--- a/tests/tcg/test-i386.c
+++ b/tests/tcg/test-i386.c
@@ -925,7 +925,7 @@ void test_fbcd(double a)
void test_fenv(void)
{
- struct QEMU_PACKED {
+ struct __attribute__((__packed__)) {
uint16_t fpuc;
uint16_t dummy1;
uint16_t fpus;
@@ -935,7 +935,7 @@ void test_fenv(void)
uint32_t ignored[4];
long double fpregs[8];
} float_env32;
- struct QEMU_PACKED {
+ struct __attribute__((__packed__)) {
uint16_t fpuc;
uint16_t fpus;
uint16_t fptag;
@@ -1280,7 +1280,7 @@ void test_segs(void)
struct {
uint32_t offset;
uint16_t seg;
- } QEMU_PACKED segoff;
+ } __attribute__((__packed__)) segoff;
ldt.entry_number = 1;
ldt.base_addr = (unsigned long)&seg_data1;