aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/Makefile.am
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2009-02-25 19:05:21 +0000
committerCary Coutant <ccoutant@google.com>2009-02-25 19:05:21 +0000
commit401a9a73922f3b3ad7099859b7d3bc3c80397f3a (patch)
tree6a74503c6b496930ef074603db18cb9c9b5dbbd2 /gold/testsuite/Makefile.am
parent784788d2f758e76488ce5c12242fb97907d27b53 (diff)
downloadfsf-binutils-gdb-401a9a73922f3b3ad7099859b7d3bc3c80397f3a.zip
fsf-binutils-gdb-401a9a73922f3b3ad7099859b7d3bc3c80397f3a.tar.gz
fsf-binutils-gdb-401a9a73922f3b3ad7099859b7d3bc3c80397f3a.tar.bz2
* layout.cc (Layout::choose_output_section): Don't rename sections
when using a linker script that has a SECTIONS clause. * Makefile.in: Regenerate. * testsuite/Makefile.am (script_test_5.sh): New test case. * testsuite/Makefile.in: Regenerate. * testsuite/script_test_5.cc: New file. * testsuite/script_test_5.sh: New file. * testsuite/script_test_5.t: New file.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r--gold/testsuite/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
index c318718..46c661f 100644
--- a/gold/testsuite/Makefile.am
+++ b/gold/testsuite/Makefile.am
@@ -903,6 +903,14 @@ script_test_4: basic_test.o gcctestdir/ld $(srcdir)/script_test_4.t
script_test_4.stdout: script_test_4
$(TEST_READELF) -SlW script_test_4 > script_test_4.stdout
+check_SCRIPTS += script_test_5.sh
+check_DATA += script_test_5.stdout
+MOSTLYCLEANFILES += script_test_5.stdout
+script_test_5: script_test_5.o gcctestdir/ld $(srcdir)/script_test_5.t
+ $(CXXLINK) -Bgcctestdir/ script_test_5.o -T $(srcdir)/script_test_5.t
+script_test_5.stdout: script_test_5
+ $(TEST_READELF) -SW script_test_5 > script_test_5.stdout
+
# Test --dynamic-list, --dynamic-list-data, --dynamic-list-cpp-new,
# and --dynamic-list-cpp-typeinfo