handling of empty LD_RUN_PATH ?

Maciej W. Rozycki macro@linux-mips.org
Mon Oct 23 17:23:00 GMT 2006


On Sat, 21 Oct 2006, Mike Frysinger wrote:

> does it make sense at all to update ld/emultempl/elf32.em to verify that 
> LD_RUN_PATH is a non-empty string ?  cant seem to find any documentation on 
> the subject other than "... the contents of the environment variable 
> LD_RUN_PATH will be used if it is defined."

 Hmm, shouldn't empty LD_RUN_PATH be treated the same as one containing 
just ":"?  That is adding the CWD to the list of locations searched, just 
as it's done by execvp() and execlp() for PATH.

  Maciej



More information about the Binutils mailing list