sorting dynamic relocation entries.

Koundinya K knk@dde.dk
Tue Mar 14 05:38:00 GMT 2000


Hi Ian,
    Though things are happening as required in _bfd_mips_elf_final_link(), the final
shared lib generated still does not have the relocation records sorted. I am doing as per
the pointers you provided. I am just working on the test case that I described
y'day...where I have just 3 dynamic relocs. I am attaching the code and the output from
the debugging statements that I have introduced.

What is surprising to me is that, after swapping in , sorting ,  swapping out and then
even when I swap in again to read the relocs (for testing) , things appear to work just
O.k i,e the relocs are sorted.

I wonder if something is happening after returning from _bfd_mips_final_link() ?.

What could be the problem ?

Please suggest.

Thanks a lot !!

koundinya




More information about the Binutils mailing list