Run init/fini functions also in static libdl
Joakim Tjernlund
joakim.tjernlund at transmode.se
Mon Mar 26 16:52:16 UTC 2007
On Sun, 2007-03-25 at 09:10 -0400, Mike Frysinger wrote:
> On Monday 19 March 2007, Rob Landley wrote:
> > On Monday 19 March 2007 12:35 pm, Bernd Schmidt wrote:
> > > Currently a static libdl.a doesn't run all the constructors or
> > > destructors of the libraries it loads. I can't see a good reason for
> > > that, and it does cause aborts in the destructors it does run for things
> > > like libgcc.so on the Blackfin.
> > >
> > > Fixed with the patch below - untested in mainline, but the equivalent
> > > has been in our Blackfin tree for a while now.
> >
> > Well, unfortunately this patch didn't fix my problem with "Hello world" for
> > Power PC:
>
> probably because it doesnt address your problem ? that testcase is not using
> libdl statically ... i thought Jocke fixed static ppc though ...
> -mike
Me too, I think this is something this is related to Rob's own
dev. environment.
Jocke
PS.
I don't have Internet access since about a week at home, but when
I get it back(any day I hope) I will start looking at recent patches
that relate to PowerPC and ld.so
More information about the uClibc
mailing list