Re: Bug#256312: How to jump in inline assembler with -fPIC?
On Sat, 26 Jun 2004, Richard B. Kreckel wrote:
[...]
> I see the differences in GCC's config/i386/i386.md but I am not an expert
> in GCC machine description files and the ABI. Does anybody have a
> suggestion how to write the __asm__() statement in the thrower_t
> constructor?
Ohh, inside struck while I was showering!
A simple __asm__("jmp catchpoint") seems to get the job done fairly well.
No need to waste neural network cycles any more. :-)
Cheers
-richy.
--
.''`. Richard B. Kreckel
: :' : <kreckel@debian.org>
`. `' <kreckel@ginac.de>
`- <http://www.ginac.de/~kreckel/>
Reply to: