As we all know, shared objects want to be compiled with -fPIC.

But shouldn't this be the linking loader's job? Why is there no fixup
section for jumps?

On the i386 platform relative jumps are limited to an 8 bit signed
offset. In order to jump further than this the jumps must be threaded (I
may be wrong about this, in truth it has been a while since I did any
assembly on the Intels).

So there are two possible states the universe can be in at this point:

1) I'm right about the limitations of relative jumps on Intel, in which
case I wonder why this is something for the compiler to do as opposed to
the linking loader.

2) I'm totally wrong about the limitations of relative jumps on Intel,
in which case this message qualifies as noise.

If the latter case is true, please accept my apologies.

Regards,
Scott

Reply via email to