This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
inline asm: How to push PIC reg before seven input operands get loaded?
- From: lynx dot abraxas at freenet dot de
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 24 Mar 2007 10:51:48 +0100
- Subject: inline asm: How to push PIC reg before seven input operands get loaded?
Hallo!
I got a bit further with my problem. Now I'm stuck on how to save the register
used when -fPIC is enabled to the stack before my seven input operands,
needing all registers, get loaded. Is that somehow possible? I couldn't find
any examples on the net. It seems not to be necessary in the original code for
MSC.
Also I wonder which -f option that comes with -O2 makes gcc stop reporting:
error: can't find a register in class 'LEGACY_REGS' while reloading 'asm'
Thanks.
Lynx