This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
force function to jump
- From: y2bismil at engmail dot uwaterloo dot ca
- To: GCC- help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 11 Nov 2003 12:48:11 -0500
- Subject: force function to jump
Hi all,
I'm linking with a library which has some functions in it which say that their
caller enters with a jmp. I was wondering if there is a way to declare a
function so it always enters with a jmp. I've tried attribute noreturn, but
when looking at the assembly, it used a call.
For now, I've just used __asm__ ("jmp something;").
Thanks,
Yamin
----------------------------------------
This mail sent through www.mywaterloo.ca