summary refs log tree commit diff
path: root/elf/rtld.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-08-14 17:11:07 +0000
committerUlrich Drepper <drepper@redhat.com>2008-08-14 17:11:07 +0000
commit9cf73ab08a912e6dab7ebe7b5477342afbde825d (patch)
treee6082e1f405ae06b5c5e554358585a52d58652b1 /elf/rtld.c
parent7b3ba2c4ebbe28d60224d79c7b7aa2a0e28fca78 (diff)
downloadglibc-9cf73ab08a912e6dab7ebe7b5477342afbde825d.tar.gz
glibc-9cf73ab08a912e6dab7ebe7b5477342afbde825d.tar.xz
glibc-9cf73ab08a912e6dab7ebe7b5477342afbde825d.zip
* sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all
	change related to AT_EXECFN.  We cannot use that string.
	* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
	_dl_execfn member.
	* elf/dl-support.c: Remove _dl_execfn variable.
	(_dl_aux_init): Remove handling of AT_EXECFN.
	* elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN.
	* elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 3f2267af0e..46bece7fa3 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -2579,12 +2579,10 @@ process_envvars (enum mode *modep)
 	  break;
 
 	case 11:
-#ifndef __ASSUME_AT_EXECFN
 	  /* Path where the binary is found.  */
 	  if (!INTUSE(__libc_enable_secure)
 	      && memcmp (envline, "ORIGIN_PATH", 11) == 0)
 	    GLRO(dl_origin_path) = &envline[12];
-#endif
 	  break;
 
 	case 12: