Relocation Problem
Nick Clifton
nickc@cambridge.redhat.com
Wed Jan 30 05:50:00 GMT 2002
More information about the Binutils mailing list
Wed Jan 30 05:50:00 GMT 2002
- Previous message (by thread): Relocation Problem
- Next message (by thread): Branching for 2.12
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Pallavi,
> Here is the problem description -
>
> 1> How assembler calculates 'Addend' for relocatable
> expression? ie the value of 'Addend' in RELA
> relocation type and 'Addend' found in the
> instruction for REL relocation.
Take a look at the function bfd_install_relocation() in bfd/reloc.c.
> 2> Is the calculation processor specific?
Yes. It is also binary file format specific and often compile time
option specific (eg big endian vs little endian).
> Pls guide me to some pointers on this - web or
> otherwise guidlines.
I recommend that your buy a copy of the book "Linkers & Loaders" by
John R, Levine (ISBN: 1-55860-496-0) which has entire chapter on this
subject.
Cheers
Nick
- Previous message (by thread): Relocation Problem
- Next message (by thread): Branching for 2.12
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list