Hello group,

I'm using gcc to hack some low-level stuff - until recently I was
developing on x86_32 (i686), but now I switched  to x86-64. As the
calling convention is different obviously I had to change large portions
of my code. Something was weird, however:

When calling functions, gcc always emits code to clear %rax before the
call is made. Is this some kind of calling convention I'm not aware of?
Can I specify a certain function attribute to stop gcc from emitting
that clearing beforehand?

Kind regards,
Johannes

-- 
"Meine Gegenklage gegen dich lautet dann auf bewusste Verlogenheit,
verlästerung von Gott, Bibel und mir und bewusster Blasphemie."
         -- Prophet und Visionär Hans Joss aka HJP in de.sci.physik
                         <48d8bf1d$0$7510$54022...@news.sunrise.ch>
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to