Relocatable executables
H . J . Lu
hjl@lucon.org
Wed Aug 22 13:18:00 GMT 2001
On Wed, Aug 22, 2001 at 01:15:50PM -0700, Uros Prestor wrote:
> Hello,
>
> I am using gcc/binutils to develop software for an embedded system (MIPS
> ELF). The executable is statically linked at a fixed text address, no
> PIC. At load time I need to relocate the executable at a different
> address. Is there a way to have ld include relocation info in the
> executable?
>
`-q'
`--emit-relocs'
Leave relocation sections and contents in fully linked
exececutables. Post link analysis and optimization tools may need
this information in order to perform correct modifications of
executables. This results in larger executables.
H.J.
More information about the Binutils
mailing list