This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Question about JUMP and LINK
- From: bill4carson <bill4carson at gmail dot com>
- To: Kernelnewbies at kernelnewbies dot org, binutils at sources dot redhat dot com
- Date: Fri, 16 Mar 2012 14:52:03 +0800
- Subject: Question about JUMP and LINK
Hi, All
The question is simple.
func_a {
call func_b
}
func_b {
call func_c
}
func_c {
return to func_a
}
The compiler I use let func_c to return func_a directly, IOW when func_b
calls func_c, it use JUMP, other JUMP and LINK, and it's definitely not
a question about inline or noinline.
So can I ask why how to let the compiler use JUMP and LINK when func_b
calls func_c?
If it's not the right place to post this, sorry for the noise.
thanks
--
I am a slow learner
but I will keep trying to fight for my dreams!
--bill