From fca41f0f7244d3a0782151bd0730aeb74b8ee743 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 10 Sep 2010 11:50:24 +0000 Subject: [PATCH] PR gold/11997 * testsuite/memory_test.t: Discard any sections that are not needed. --- gold/ChangeLog | 6 ++++++ gold/testsuite/memory_test.t | 9 +-------- 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 + + 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 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/ : { *(*) } } -- 2.7.4