Fixing load address to eliminate local dynamic relocs

David Daney ddaney@caviumnetworks.com
Thu Oct 23 20:03:00 GMT 2008


Doug Kwan (關振德) wrote:
> Hi,
> 
>     I would like to do fix the loading address of shared libraries and
> thus eliminate dynamic relocs to local symbol to save space.  Is there
> any way to do it with command line options or a script?  I have looked
> at the ld manual and it appeared there was not a way to do it.
> 
Have you tried the pre-linker?  That may do what you want.

David Daney



More information about the Binutils mailing list