* Re: Trampoline implementation for MIPS
[not found] <f69849430609290015y3d236574s853f7f17d6eda9c1@mail.gmail.com>
@ 2006-09-29 8:17 ` Andrew Haley
0 siblings, 0 replies; only message in thread
From: Andrew Haley @ 2006-09-29 8:17 UTC (permalink / raw)
To: kernel coder; +Cc: gcc-help
kernel coder writes:
> hi,
> I'm having some trouble while understanding the generated assembly
> code for trampoline by mips back-end.
>
> Following is the code for which i'm trying to undertsand the generated
> trampoline code.
>
> int foo(int (*f)()){
> (*f)();
> }
> main(){
> int i;
> int g(){printf("hello,%d",i);}
> foo(g);
> }
>
> Parts of generated assembly code which are confusing are
>
That looks like all of it! The trouble is that we don't know what
you don't know. Firstly, did you read
http://people.debian.org/~aaronl/Usenix88-lexic.pdf
I have redirected this reply to gcc-help.
Andrew.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-09-29 8:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <f69849430609290015y3d236574s853f7f17d6eda9c1@mail.gmail.com>
2006-09-29 8:17 ` Trampoline implementation for MIPS Andrew Haley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).