Re: Registers pushed in the beginning of a function

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

 



"ivanko.rus" <ivanko.rus@xxxxxxxxx> writes:

> Hello everyone! I would like to know if it's possible to exclude "push
> %ebp"; push %edi; push %esi; push %ebx" from the beginning of a
> function. It's just that I need a possibility to control these things
> myself (in only one function, the rest can be normal). Thanks a lot in
> advance!

You could try compiling that one function with -fcall-used-edi
-fcall-used-esi -fcall-used-ebx -fcall-used-ebp -fomit-frame-pointer.

In general you may want to consider writing this function in
assembler.

Ian


[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