write a c compiler读书笔记
// 生成asm
gcc -S -O -fno-asynchronous-unwind-tables -fcf-protection=none return_2.c
// 汇编链接
gcc return_2.s -o return_2
./return_2
echo $?
2
// 生成asm
gcc -S -O -fno-asynchronous-unwind-tables -fcf-protection=none return_2.c
// 汇编链接
gcc return_2.s -o return_2
./return_2
echo $?
2