Re: Custom x86 ABI

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

 



Yes, you should read the machine description documentation
http://gcc.gnu.org/onlinedocs/gccint/index.html#toc_Machine-Desc, in
particular register usage
http://gcc.gnu.org/onlinedocs/gccint/Registers.html#Registers and then
hack the x86 backend. You might just be able to edit the fixed
registers for this.


On Mon, Nov 4, 2013 at 3:59 AM, David Kaplan <davkaplan@xxxxxxxxx> wrote:
> Hi
>
> 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?
>
> Thanks,
> David




[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