Re: shared lib relocation problem

2007-09-21 Thread Daniel Jacobowitz
On Thu, Sep 20, 2007 at 09:57:23PM +0200, Jozef Kruger wrote: > Since the system and host modules are compiled into shared libraries > I would expect that they end up calling the print function defined > in their own module (since those references have been resolved > already, both shared objects c

shared lib relocation problem

2007-09-21 Thread Jozef Kruger
Hi, I ran into an issue with the relocation of global symbols. The attached tarball contains 3 C files (and a Makefile that shows how to reproduce the behaviour): - sim.c (compiled into executable "sim") - system.c (compiled into shared object "system.so") - host.c (compiled into shared object "