On Thu, Jul 16, 2020 at 10:44:21AM +0200, Rainer Orth wrote: > Hi Jakub, > > >> I may still be mistaken, but all this suggests that Linux might be > >> playing games with ESP and UESP, while Solaris and NetBSD (see below) > >> keep them separate, but in the end UESP is the register to use. > > > > I think what matters more is > > kernel/signal.c and ia32/ia32_signal.c doing: > > put_user_ex(regs->sp, &sc->sp); > > ... > > put_user_ex(regs->sp, &sc->sp_at_signal); > > i.e. both ESP and UESP ought to have the same value in the end on Linux. > > > > Your patch is ok for trunk and for 10.3 after a few weeks (10.2 is frozen > > ATM anyway) so that if there are some problems (like say some headers not > > defining REG_UESP or something similar), we'll find that out on trunk first. > > fair enough. What about the gcc-9 branch by then? I expect there will > be at least one more release from that one, too?
Ok, but please do it in order (i.e. trunk, then 10+9+8 (if you want 8 too)). Jakub