Andrew Haley wrote:
Antoine Eiche wrote:
I would like to know if it exists a convention about the assembly
generation of jump statement.
More precisely, I would like to know if it's possible to find a jump
which jumps to another function (the address of the jump is not an
address which belongs of the current function) . I think we can write
this kind of jump in assembly. But, does Gcc product this kind of jump ?
Yes, for sibcalls.
A sibcall is used when we don't need the result of a function call
(tail recursion for instance) . Is it right ?
If it, does a sibcall branch to another instruction than the first of a
function ?
I have search documentation about that, but I've not found interesting
paper.
Have you got some links ?
What's the problem?
It 's not really a problem, it's more for information.
Thanks,
Antoine