Relocations, GOT, and PLT?

Nick Clifton nickc@redhat.com
Fri May 14 12:30:00 GMT 2004


Hi Houda,

> I have read BFD internals and the section BFD
> relocation handling, but i don't understand what is
> exactly relocations?
> What is GOT and PLT?

You need to learn about linkers and how they work.  This is a large 
topic - more than can be covered in a single email.  I suggest you find 
a good book on the subject.  eg "Linkers and Loaders" by John Levine.

> How can i determine the howto structure i should
> define for a specific target (microcontrolleur 8 bit)?

The best method is to examine the code for a similar port and use it as 
a guideline for creating your own port.  What sort of microcontroller is 
it ?  Is it similar to any other CPUs ?

Cheers
   Nick



More information about the Binutils mailing list