From patchwork Sat Nov 1 08:56:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: sposelenov@emcraft.com X-Patchwork-Id: 405763 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id D911714011D for ; Sat, 1 Nov 2014 19:56:28 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2A4CF33A89; Sat, 1 Nov 2014 08:56:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Na2cg2dH4CoB; Sat, 1 Nov 2014 08:56:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7C67D32F23; Sat, 1 Nov 2014 08:56:25 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 1E4891C1EDA for ; Sat, 1 Nov 2014 08:56:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1B08632CFD for ; Sat, 1 Nov 2014 08:56:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MvqYlqjgzuHg for ; Sat, 1 Nov 2014 08:56:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ocean.emcraft.com (ocean.emcraft.com [213.221.7.182]) by silver.osuosl.org (Postfix) with ESMTPS id 8F21533052 for ; Sat, 1 Nov 2014 08:56:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=[IPv6:::1]) by ocean.emcraft.com with esmtp (Exim 4.76) (envelope-from ) id 1XkUTr-0003vl-Eo; Sat, 01 Nov 2014 11:56:19 +0300 Message-ID: <1414832179.11706.6.camel@mehome> Subject: [PATCH 1/3] Fix build error for Cortex-M3 build From: Sergei Poselenov To: Bernhard Reutner-Fischer Date: Sat, 01 Nov 2014 11:56:19 +0300 In-Reply-To: <1414831960.11706.3.camel@mehome> References: <20141022141126.3e6849ec@skywanderer.emcraft.com> <723A8C88-67FA-4D54-85A5-18F2A7D3B4F0@gmail.com> <1414831960.11706.3.camel@mehome> Organization: Emcraft Systems OOO X-Mailer: Evolution 3.8.5 (3.8.5-2.fc19) Mime-Version: 1.0 Cc: uclibc@uclibc.org, Andrii X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: uclibc-bounces@uclibc.org Sender: "uClibc" commit 1ca3444a4df22ecf6257eb40aa79b69c6f153283 Author: Sergei Poselenov Date: Sun Oct 26 14:52:40 2014 +0400 Fixed build error for Cortex-M3. Signed-off-by: Sergei Poselenov diff --git a/libc/sysdeps/linux/arm/bits/arm_asm.h b/libc/sysdeps/linux/arm/bits/arm_asm.h index 921c9a3..27d22bb 100644 --- a/libc/sysdeps/linux/arm/bits/arm_asm.h +++ b/libc/sysdeps/linux/arm/bits/arm_asm.h @@ -3,9 +3,11 @@ #define _ARM_ASM_H #ifdef __thumb2__ +#ifdef __ASSEMBLER__ .thumb .syntax unified #define IT(t, cond) i##t cond +#endif /* __ASSEMBLER__ */ #else /* XXX: This can be removed if/when we require an assembler that supports unified assembly syntax. */