mirror of git://sourceware.org/git/glibc.git
Adjust AT_EXECFN when using explicit loader invocation.
2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com> * elf/Makefile (tst-auxv): New test. * elf/tst-auxv.c: New * elf/rtld.c (dl_main): Adjust AT_EXECFN
This commit is contained in:
parent
038b56f3da
commit
5c3499508e
|
|
@ -1,3 +1,9 @@
|
||||||
|
2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||||
|
|
||||||
|
* elf/Makefile (tst-auxv): New test.
|
||||||
|
* elf/tst-auxv.c: New
|
||||||
|
* elf/rtld.c (dl_main): Adjust AT_EXECFN
|
||||||
|
|
||||||
2013-11-18 Joseph Myers <joseph@codesourcery.com>
|
2013-11-18 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* include/libc-symbols.h (__hidden_proto): Add argument "thread".
|
* include/libc-symbols.h (__hidden_proto): Add argument "thread".
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,8 @@ $(inst_auditdir)/sotruss-lib.so: $(objpfx)sotruss-lib.so $(+force)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
tests = tst-tls1 tst-tls2 tst-tls9 tst-leaks1 \
|
tests = tst-tls1 tst-tls2 tst-tls9 tst-leaks1 \
|
||||||
tst-array1 tst-array2 tst-array3 tst-array4 tst-array5
|
tst-array1 tst-array2 tst-array3 tst-array4 tst-array5 \
|
||||||
|
tst-auxv
|
||||||
tests-static = tst-tls1-static tst-tls2-static tst-stackguard1-static \
|
tests-static = tst-tls1-static tst-tls2-static tst-stackguard1-static \
|
||||||
tst-leaks1-static tst-array1-static tst-array5-static \
|
tst-leaks1-static tst-array1-static tst-array5-static \
|
||||||
tst-ptrguard1-static
|
tst-ptrguard1-static
|
||||||
|
|
|
||||||
|
|
@ -1118,6 +1118,9 @@ of this helper program; chances are you did not intend to run this program.\n\
|
||||||
case AT_ENTRY:
|
case AT_ENTRY:
|
||||||
av->a_un.a_val = *user_entry;
|
av->a_un.a_val = *user_entry;
|
||||||
break;
|
break;
|
||||||
|
case AT_EXECFN:
|
||||||
|
av->a_un.a_val = (uintptr_t) _dl_argv[0];
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue