diff --git a/gold/ChangeLog b/gold/ChangeLog index fa663e9b11..df34bcf693 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2010-09-10 Nick Clifton + + PR gold/11997 + * testsuite/memory_test.t: Discard any sections that are not + needed. + 2010-09-09 H.J. Lu PR gold/11996 diff --git a/gold/testsuite/memory_test.t b/gold/testsuite/memory_test.t index 7bcb877e52..5963c93e95 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/ : { *(*) } }