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

From: Willy Tarreau
Date: Thu Mar 24 2022 - 03:41:47 EST


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