From patchwork Tue Feb 19 17:39:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 221896 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0F3CE2C0079 for ; Wed, 20 Feb 2013 08:18:51 +1100 (EST) Received: from localhost ([::1]:36780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7rC9-00062g-DN for incoming@patchwork.ozlabs.org; Tue, 19 Feb 2013 12:41:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7rBQ-0004rd-83 for qemu-devel@nongnu.org; Tue, 19 Feb 2013 12:41:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7rBH-0007pK-AV for qemu-devel@nongnu.org; Tue, 19 Feb 2013 12:40:42 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:46923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7rBH-0007p2-3L for qemu-devel@nongnu.org; Tue, 19 Feb 2013 12:40:39 -0500 Received: by mail-pa0-f50.google.com with SMTP id fa11so3501000pad.37 for ; Tue, 19 Feb 2013 09:40:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=oRZ4nUeyeE4zT62Ceke/2C0wSnkFqEoY7y4qolqdZEM=; b=hY8OlNEg7bHmaozgiyr+nzMDDnBAJtI4GdUrwE9vwm/2NaV/7p/e3fHX1/KFo1B1WF 18aXrBK3imFfjjdHk6RUcp/vSvweGn7N3/l5aj01JFhjW9YUxPkW+UMjN8pkTVoSSL1H A6P86OAPGdhh2ky7Pxc5eITdJ13JQ53kZysFFir0aZtQgdNIqd31yKYfcBhVBm1iZK98 eofSkkBbacrWfOdDQ3fXiJMXRuX81bEAXeNix8A5VqHnTiHwVF4Tqh4GN0OHBVQGfkZA 2E2O44CmZpEcAAFy4g5u+Em1i4Q3O/RX3PBklpHFpVITFGI7aIAzfp+rD4wOZR0GSDGf toyg== X-Received: by 10.68.129.163 with SMTP id nx3mr42045612pbb.13.1361295638295; Tue, 19 Feb 2013 09:40:38 -0800 (PST) Received: from anchor.twiddle.net (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by mx.google.com with ESMTPS id 1sm18659295pbg.18.2013.02.19.09.40.36 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 19 Feb 2013 09:40:37 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 19 Feb 2013 09:39:35 -0800 Message-Id: <1361295631-21316-2-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1361295631-21316-1-git-send-email-rth@twiddle.net> References: <1361295631-21316-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.50 Cc: blauwirbel@gmail.com, pbonzini@redhat.com, afaerber@suse.de, aurelien@aurel32.net Subject: [Qemu-devel] [PATCH 01/57] test-i386: QEMU_PACKED is not defined here X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Paolo Bonzini Signed-off-by: Paolo Bonzini Signed-off-by: Richard Henderson --- tests/tcg/test-i386.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tcg/test-i386.c b/tests/tcg/test-i386.c index 6dc730d..b18fe20 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;