
Le 07/11/2011 14:41, Sandeep Sharma a écrit :
Hi,
I am analyzing U-Boot code for "relocate_code" function. In this function after copying the text section and before clearing the bss section we are doing "fix .rel.dyn relocations". I want to know that what actually we are doing in this section of code. What does this section actually contains and what kind of fix we are doing in this. What are relative and absolute fix that we are doing in this section.
Any kind of help will we highly appreciated.
Hi Sandeep,
I assume you are specifically talking about ARM code in start.S? This code is an implementation of the relocation mechanism defined in the ELF specifications. Look up http://en.wikipedia.org/wiki/Executable_and_Linkable_Format#References for details.
Amicalement,