RPATH/RUNPATH issue, equivalent to -headerpad on OSX

H.J. Lu hjl@lucon.org
Thu Jan 3 21:30:00 GMT 2008


On Thu, Jan 03, 2008 at 01:54:04PM +0100, Alexander Neundorf wrote:
> It would be nice if the ELF ld would offer a similar option, 
> e.g. -rpath-length=<size>, and then the RPATH field would have the specified 
> size. This would make it possible to safely modify the RPATH without 
> workarounds.
> Maybe this would even make sense for binary distribution packages, where 
> (maybe) the install location could be selected and then the RPATH inside the 
> binaries of the package could be modified.
> 
> What do you think of that ?

It sounds an interesting idea. Please open a bug report. We can
even add an option to objcopy, --set-rpath=pathname.


H.J.



More information about the Binutils mailing list