From 43edfb7fac67118fa7ed41310dc73241f238decd Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 15 May 2007 13:57:03 +0000 Subject: 2007-05-15 H.J. Lu PR ld/4504 * ld-elf/data1.c: New file. * ld-elf/data1.h: Likewise. * ld-elf/dynbss1.c: Likewise. * ld-elf/pass.out: Likewise. * ld-elf/shared.exp (build_tests): Add "Build libdata1.so". (run_tests): Add "Run with libdata1.so". --- ld/testsuite/ld-elf/shared.exp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ld/testsuite/ld-elf/shared.exp') diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index 0a9a4ff..c8e0a18 100644 --- a/ld/testsuite/ld-elf/shared.exp +++ b/ld/testsuite/ld-elf/shared.exp @@ -117,6 +117,9 @@ set build_tests { {"Build libdl6d.so with --dynamic-list-data -Bsymbolic" "-shared -Wl,--dynamic-list-data,-Bsymbolic" "-fPIC" {dl6.c} {} "libdl6d.so"} + {"Build libdata1.so" + "-shared" "-fPIC" + {data1.c} {} "libdata1.so"} } set run_tests { @@ -226,6 +229,9 @@ set run_tests { {"Run dl6d1 with --dynamic-list-data and dlopen on libdl6d.so" "--dynamic-list-data -ldl" "" {dl6dmain.c} "dl6d1" "dl6b.out"} + {"Run with libdata1.so" + "tmpdir/libdata1.so" "" + {dynbss1.c} "dynbss1" "pass.out"} } run_cc_link_tests $build_tests -- cgit v1.1