Error in documentation of $ORIGIN in the ld.so man page
Jonathan Wakely
jwakely@redhat.com
Thu Oct 9 18:19:00 GMT 2014
On 09/10/14 23:18 +0530, Siddhesh Poyarekar wrote:
>Hi Michael,
>
>The ld.so man page says:
>
> $ORIGIN (or equivalently ${ORIGIN})
> This expands to the directory containing the application
>executable. Thus, an application located in somedir/app could be
>compiled with
>
>which is incorrect since it expands to the directory containing the
>DSO and not the application executable. This seems like deliberate
>behaviour in dl-object.c, so it needs to be fixed in the man page.
>Credit goes to Jon Wakely for finding this[1].
Thanks, Siddhesh, I was just preparing this suggested patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20141009/90a9b4f2/attachment.bin>
More information about the Libc-alpha
mailing list