This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: the question about PT_DYNAMIC's p_offset value in elf file formips platform


Hi Eagle,

I think that .dynamic section should be the first section of dynamic
segment.

For most ports this is true. But for the MIPS it is not. I will let a MIPS expert explain why, as I do not actually know the reason.


If .dynamic section is not the first section in dynamic segment,
how can i get other dynamic section information?

If you have a section header then discovering this information is simple. Otherwise there is no easy way. I think that with MIPS ports which do not have the .dynamic section at the start of the PT_DYNAMIC segment there is a requirement to keep the section header in an executable. (I expect someone will correct me on this).


and isn't glibc source perfect?

he he. Well if you ask Uli Drepper then yes it probably is. :-)


Cheers
  Nick


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