This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

handling of empty LD_RUN_PATH ?


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

Debian has a patch to ignore LD_RUN_PATH when it is "":
          lib_path = (const char *) getenv ("LD_RUN_PATH");
+         if ((lib_path) && (strlen (lib_path) == 0))
+       lib_path = NULL;
          if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
                              force))
-mike

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]