Re: [PATCH 02/17] x86, lto: Mark all top level asm statements as .text

From: Andi Kleen
Date: Tue Mar 26 2019 - 21:08:36 EST


Following up to myself here...

> > If it's the former, then we must backport those fixes.
> >
> > Could you please verify with the GCC people as you seem to have a
> > reproducer of some sort.
>
> Okay. I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89839
>
> I thought I had already done that, but it seems I didn't.

Looks like they think the kernel should be fixed.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89839

Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID


--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
No, toplevel inline-asm should never assume what section it is in.


-Andi