Re: Custom x86 ABI

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

 



On Mon, Nov 4, 2013 at 3:59 AM, David Kaplan <davkaplan@xxxxxxxxx> wrote:
>
> I've just build a cross-compiler with the i586-elf target which I need
> for my project.
> I was wondering: is there a way to build a custom ABI such that the
> EBX (or any other register) is never used by GCC?
> If so, how do I go about doing it?

If the only change you want to make is to have GCC never use %ebx,
then compile with -ffixed-ebx.

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