From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by gnuweeb.org (Postfix) with ESMTP id 196C17E34D for ; Thu, 24 Mar 2022 07:41:38 +0000 (UTC) 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) List-Id: 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