Re: [PATCH v1 03/11] tools/nolibc: Replace `asm` with `__asm__`

From: Ammar Faizi
Date: Thu Mar 24 2022 - 05:03:13 EST


On 3/24/22 2:41 PM, Willy Tarreau wrote:
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.

I will make this one as the second patch after patch that fixes the
System V ABI document link (in the next version). So this will be
[PATCH 02/N].

Please holler if it should be the first patch.

--
Ammar Faizi