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
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