[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r17686 - in /trunk/libc: ChangeLog.eglibc elf/Makefile scripts/run-with-env.sh
- To: commits@xxxxxxxxxx
- Subject: [Commits] r17686 - in /trunk/libc: ChangeLog.eglibc elf/Makefile scripts/run-with-env.sh
- From: joseph@xxxxxxxxxx
- Date: Wed, 21 Mar 2012 12:05:59 -0000
Author: joseph
Date: Wed Mar 21 12:05:58 2012
New Revision: 17686
Log:
2012-03-21 Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
* elf/Makefile ($(objpfx)tst-unused-dep.out): Run through the
cross-test-wrapper.
* scripts/run-with-env.sh: Handle EGLIBC_TEST_LD_TRACE_LOADED_OBJECTS
and EGLIBC_TEST_LD_DEBUG.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/elf/Makefile
trunk/libc/scripts/run-with-env.sh
Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Wed Mar 21 12:05:58 2012
@@ -1,3 +1,10 @@
+2012-03-21 Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
+
+ * elf/Makefile ($(objpfx)tst-unused-dep.out): Run through the
+ cross-test-wrapper.
+ * scripts/run-with-env.sh: Handle EGLIBC_TEST_LD_TRACE_LOADED_OBJECTS
+ and EGLIBC_TEST_LD_DEBUG.
+
2012-03-08 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* bits/predefs.h: Test _STDC_PREDEF_H, not _FEATURES_H.
Modified: trunk/libc/elf/Makefile
==============================================================================
--- trunk/libc/elf/Makefile (original)
+++ trunk/libc/elf/Makefile Wed Mar 21 12:05:58 2012
@@ -1142,9 +1142,11 @@
tests: $(objpfx)tst-unused-dep.out
$(objpfx)tst-unused-dep.out: $(objpfx)testobj1.so
- LD_TRACE_LOADED_OBJECTS=1 \
- LD_DEBUG=unused \
- LD_PRELOAD= \
+ EGLIBC_TEST_LD_TRACE_LOADED_OBJECTS=1 \
+ EGLIBC_TEST_LD_DEBUG=unused \
+ EGLIBC_TEST_LD_PRELOAD= \
+ $(cross-test-wrapper) \
+ $(..)scripts/run-with-env.sh \
$(elf-objpfx)${rtld-installed-name} \
--library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \
$< > $@
Modified: trunk/libc/scripts/run-with-env.sh
==============================================================================
--- trunk/libc/scripts/run-with-env.sh (original)
+++ trunk/libc/scripts/run-with-env.sh Wed Mar 21 12:05:58 2012
@@ -21,4 +21,12 @@
export LD_LIBRARY_PATH="${EGLIBC_TEST_LD_LIBRARY_PATH}"
fi
+if [ "${EGLIBC_TEST_LD_TRACE_LOADED_OBJECTS+set}" ]; then
+ export LD_TRACE_LOADED_OBJECTS="${EGLIBC_TEST_LD_TRACE_LOADED_OBJECTS}"
+fi
+
+if [ "${EGLIBC_TEST_LD_DEBUG+set}" ]; then
+ export LD_DEBUG="${EGLIBC_TEST_LD_DEBUG}"
+fi
+
exec "$@"
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits