From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18E6FC433EF for ; Thu, 24 Mar 2022 07:41:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348705AbiCXHnQ (ORCPT ); Thu, 24 Mar 2022 03:43:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348852AbiCXHnO (ORCPT ); Thu, 24 Mar 2022 03:43:14 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8509A6D1A1 for ; Thu, 24 Mar 2022 00:41:40 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 22O7fNBf018637; Thu, 24 Mar 2022 08:41:23 +0100 Date: Thu, 24 Mar 2022 08:41:23 +0100 From: Willy Tarreau To: Ammar Faizi Cc: "Paul E. McKenney" , Alviro Iskandar Setiawan , Nugraha , Linux Kernel Mailing List , GNU/Weeb Mailing List Subject: Re: [PATCH v1 03/11] tools/nolibc: Replace `asm` with `__asm__` Message-ID: <20220324074123.GB18586@1wt.eu> References: <20220324073039.140946-1-ammarfaizi2@gnuweeb.org> <20220324073039.140946-4-ammarfaizi2@gnuweeb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220324073039.140946-4-ammarfaizi2@gnuweeb.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 24, 2022 at 02:30:31PM +0700, Ammar Faizi wrote: > Replace `asm` with `__asm__` to support compilation with -std flag. > Using `asm` with -std flag makes GCC think `asm()` is a function call > instead of an inline assembly. OK fair enough, and if we have to do it, better do it early anyway. Thanks, Willy