lkml.org 
[lkml]   [2022]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v1 03/11] tools/nolibc: Replace `asm` with `__asm__`
From
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

\
 
 \ /
  Last update: 2022-03-24 10:03    [W:0.076 / U:1.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site