aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-09-10 11:50:24 +0000
committerNick Clifton <nickc@redhat.com>2010-09-10 11:50:24 +0000
commitfca41f0f7244d3a0782151bd0730aeb74b8ee743 (patch)
tree8ea91f70292cb3679600229accb4bb447bece4ac
parent02f9d0c5fb69bbf54aa1707f3c91cd44406b5973 (diff)
downloadgdb-fca41f0f7244d3a0782151bd0730aeb74b8ee743.zip
gdb-fca41f0f7244d3a0782151bd0730aeb74b8ee743.tar.gz
gdb-fca41f0f7244d3a0782151bd0730aeb74b8ee743.tar.bz2
PR gold/11997
* testsuite/memory_test.t: Discard any sections that are not needed.
-rw-r--r--gold/ChangeLog6
-rw-r--r--gold/testsuite/memory_test.t9
2 files changed, 7 insertions, 8 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index fa663e9..df34bcf 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-10 Nick Clifton <nickc@redhat.com>
+
+ PR gold/11997
+ * testsuite/memory_test.t: Discard any sections that are not
+ needed.
+
2010-09-09 H.J. Lu <hongjiu.lu@intel.com>
PR gold/11996
diff --git a/gold/testsuite/memory_test.t b/gold/testsuite/memory_test.t
index 7bcb877..5963c93 100644
--- a/gold/testsuite/memory_test.t
+++ b/gold/testsuite/memory_test.t
@@ -18,12 +18,5 @@ SECTIONS
.sec3 0x5000 : { *(*.sec3) }
- /* In theory we could put:
-
- /DISCARD/ : { *(*) }
-
- here as we do not need any other sections for this test.
- In practice however doing so breaks GOLD as it relies upon
- being able to create/find various other sections such as
- .dynamic, .dynsym and .gnu.hash. */
+ /DISCARD/ : { *(*) }
}