Re: Using the stack from inline assembly

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

 



On 13/12/16 18:15, Segher Boessenkool wrote:
> Clobbering "memory" does not work here.  Clobbering "rsp" however seems
> to work.  But, "seems to", I don't think there is a guarantee anywhere.
> Clobbering the stack pointer forces the use of the frame pointer, but is
> that guaranteed even?

No, I think we shouldn't do that.  If it's necessary to save things on
the stack all we need to do is to avoid the red zone.  That really isn't
hard.

Andrew.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux