Jin Yao wrote:
Hi,
The X64 passes the first six arguments in registers %rdi, %rsi, .... Can I use one compiler option like "-save_args" to store argments in stack like what the i386 does?
I tried this option, but it's failed. The logs are here:
cc -O -g -save_args -m64 -c -o cpc.o cpc.c
cc: -a conflicts with -dy.
*** Error code 1
make: Fatal error: Command failed for target `cpc.o'
Thanks
Try
-Wu,-save_args
- Bart
--
Bart Smaalders Solaris Kernel Performance
ba...@cyber.eng.sun.com http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code