aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/ : { *(*) }
}