diff --git a/gold/ChangeLog b/gold/ChangeLog
index fa663e9b11f..df34bcf693d 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 7bcb877e523..5963c93e952 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/ : { *(*) }
 }