This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to skip EABI in c code


Hi all.
I'm using GCC for powerpc. I wanted to compile some c code files asking
the compiler to skip EABI code.
In other words, I wanted to skip generation of code handling registers,
variables, etc. push/pop (into stack) and function parameters passing.
This code is usually inserted at beginning and end of all C functions.

The idea is to write some small procedures in "C", compile them (asking
to skip EABI stuff generation) and jump (from one assembler routine) to
those procedures.
I have also to ask the compiler to place all local variables into
registers (instead of into stack).

Thanks and regards
Dario


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]