Relocatable executables

Uros Prestor uros.prestor@nexsi.com
Wed Aug 22 13:32:00 GMT 2001


"H . J . Lu" wrote:

> `-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.

Thanks, H.J.

My version of ld (2.9.1 with BFD 2.9.1) seems to be too ancient to recognize
--emit-relocs.  Can I do the equivalent of --emit-relocs on 2.9.1 via the
linker script, or do I have to upgrade to a newer version of binutils?

Uros

--
Uros Prestor
uros.prestor@nexsi.com





More information about the Binutils mailing list