Re: Inline ASM and stack/base pointer

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

 



On 09.06.2011 17:49, Ian Lance Taylor wrote:
> Add "%esp" to your clobber list.  That should force the compiler to pass
> any stack variables using an offset from %ebp.
I assume I should use "m" as constraint, right? If so, that didn't do
the trick, the generated assembly still contains 0xbc(%%esp) where it
should use %%ebp.

-- 
Mierswa, Daniel

If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
               --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22


[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