about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-08-12 17:33:29 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-08-12 17:59:13 +0200
commit9b9670fcd8ca92d6f53465e98173e3b33a76182c (patch)
treee4683cf3c85448b5d418b95af160fea25a55de5a /ChangeLog
parentc48d92b430c480de06762f80c104922239416826 (diff)
downloadglibc-9b9670fcd8ca92d6f53465e98173e3b33a76182c.tar.gz
glibc-9b9670fcd8ca92d6f53465e98173e3b33a76182c.tar.xz
glibc-9b9670fcd8ca92d6f53465e98173e3b33a76182c.zip
elf: Support elf/tst-dlopen-aout in more configurations
dlopen can no longer open PIE binaries, so it is not necessary
to link the executable as non-PIE to trigger a dlopen failure.

If we hard-code the path to the real executable, we can run the test
with and without hard-coded paths because the dlopen path will not
be recognized as the main program in both cases.  (With an explict
loader invocation, the loader currently adds argv[0] to l_libname
for the main map and the dlopen call suceeds as a result; it does
not do that in standard mode.)
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a8186db394..225da0119d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2019-08-12  Florian Weimer  <fweimer@redhat.com>
+
+	* elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
+	[$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
+	not set.
+	* elf/tst-dlopen-aout.c: Do not included <assert.h>.
+	(do_test): Open the executable using an absolute path.  Print
+	error message to standard output.
+
 2019-08-09  DJ Delorie  <dj@redhat.com>
 
 	* elf/dl-tunables.list: Add glibc.malloc.mxfast.