bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: x86_64-gnu 14.2.0 cross-compiler -O2 removes THREAD_SETMEM in glibc


From: Samuel Thibault
Subject: Re: x86_64-gnu 14.2.0 cross-compiler -O2 removes THREAD_SETMEM in glibc sigreturn.c
Date: Fri, 27 Dec 2024 01:12:24 +0100

Hello,

Samuel Thibault, le dim. 24 nov. 2024 15:18:31 +0100, a ecrit:
> Andreas Schwab, le dim. 24 nov. 2024 15:15:43 +0100, a ecrit:
> > On Nov 24 2024, Sergey Bugaev wrote:
> > > So are you saying that we always must mark any asm statement that
> > > might transfer control somewhere else w/o returning as 'asm goto',
> > > even if we don't actually need to jump to any of the C-level labels?
> > 
> > An ordinary asm is not allowed to change flow control.
> 
> I was suggesting on IRC to rather move the asm bit outside any function
> and just call it as a function (with attribute noreturn).

That fixes things on my box, I pushed it to the glibc tree.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]