diff options
Diffstat (limited to 'libc/elf/rtld.c')
-rw-r--r-- | libc/elf/rtld.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/elf/rtld.c b/libc/elf/rtld.c index da92966d5..264ffb1e9 100644 --- a/libc/elf/rtld.c +++ b/libc/elf/rtld.c @@ -1,5 +1,5 @@ /* Run time dynamic linker. - Copyright (C) 1995-2013 Free Software Foundation, Inc. + Copyright (C) 1995-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -1119,6 +1119,9 @@ of this helper program; chances are you did not intend to run this program.\n\ case AT_ENTRY: av->a_un.a_val = *user_entry; break; + case AT_EXECFN: + av->a_un.a_val = (uintptr_t) _dl_argv[0]; + break; } #endif } |