On Mon Feb 21 2011 at 23:19:47 +0000, YAMAMOTO Takashi wrote: > > Module Name: src > > Committed By: pooka > > Date: Mon Feb 7 19:34:39 UTC 2011 > > > > Modified Files: > > src/lib/librumphijack: hijack.c > > > > Log Message: > > Force gcc to generate a stack frame for the call to dlsym(RTLD_NEXT). > > Without this hack at least amd64 -O2 just used jmp and The Wrong > > Thing happened. > > do you want -fno-optimize-sibling-calls ?
Without doing a test-compile, looks like it. I guess I'll have to move that function to its own source module, or is there a way to enable it per-function? -- älä karot toivorikkauttas, kyl rätei ja lumpui piisaa