This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Has the dynamic section to be read-write?



I'm trying to get the dynamic linker running on mips-linux and I'm now
encountering a number of problems.

The function elf_get_dynamic_info in elf/dynamic-link.h expects that
the dynamic section is writeable (the calculations:
info[DT_PLTGOT]->d_un.d_ptr += l_addr; change the dynamic section).

But the MIPS Abi states that the dynamic section is readonly.

Is my analysis correct?

What can I do to get the dynamic linker of glibc 2.1/2.2[1] running on
MIPS-Linux?

- reverting the patches to the dynamic linker and making dynamic again
  readonly
- creating a copy of the dynamic section and modifying the copy

Has anybody another idea or some helpful suggestions?

Thanks,
Andreas


Footnotes: 
[1]  glibc 2.0.x didn't modify the dynamic section.

-- 
 Andreas Jaeger   
  SuSE Labs aj@suse.de	
   private aj@arthur.rhein-neckar.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]