[uClibc] [PATCH] Clean up dynamic handling in ld.so and initial RELRO support
Joakim Tjernlund
joakim.tjernlund at lumentis.se
Fri Oct 29 15:05:19 UTC 2004
> On Fri, Oct 29, 2004 at 03:56:30PM +0200, Joakim Tjernlund wrote:
> > >
> > > > It is getting impossible to any real work done in ld.so due to the messy
> > > > handling the dynamic section attributes.
> > > >
> > > > This patch is the first step to fix this. MIPS is the biggest offender and
> > > > I can't test MIPS. I would like some feedback from MIPS users, please
> > > > test(enable all LDSO debugging if you run into problems) and report back.
> > > > Note that all arches are affected so feedback from other arches is also welcome.
> > > >
> > > > Summary of the patch:
> > > > - remove dynamic_size from struct elf_resolve.
> > > > - replace all open coded dynamic handling with a function. Reduces size.
> > > > - fold MIPS special MIPS dynamic code into the dynamic_info item.
> > > > - prepare for DT_RELACOUNT/DT_RELCOUNT optimization.
> > > >
> > > > Jocke
> > >
> > > Now with RELRO support also. Very little tested, but I am sure Peter Mazinger
> > > will test it well :)
> > >
> > > Jocke
> >
> > Forgot to mention that I am still looking for feedback from testing this on a MIPS
> > system. I don't want to commit this without any testing on MIPS first.
>
> I'll be building some mips toolchains today. I'll try it out.
>
> Manuel
Thanks, feel free to commit if it works.
Jocke
More information about the uClibc
mailing list