aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-03-14 01:40:30 +0000
committerNick Clifton <nickc@redhat.com>2000-03-14 01:40:30 +0000
commite40eb3e94d953fff983c8ddf6d6a1713ecf4ebc7 (patch)
tree140e291eb502cab2193b6d50d8becd01860d468e /ld
parentbc0fbc97a878ec68f826d7be38f92962e5201956 (diff)
downloadgdb-e40eb3e94d953fff983c8ddf6d6a1713ecf4ebc7.zip
gdb-e40eb3e94d953fff983c8ddf6d6a1713ecf4ebc7.tar.gz
gdb-e40eb3e94d953fff983c8ddf6d6a1713ecf4ebc7.tar.bz2
discard all unexpected sections.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-scripts/phdrs.t2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 6f70a39..240205f 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-13 Nick Clifton <nickc@cygnus.com>
+
+ * ld-scripts/phdrs.t: Discard all unexpected sections.
+
2000-02-27 H.J. Lu (hjl@gnu.org)
* lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs.
diff --git a/ld/testsuite/ld-scripts/phdrs.t b/ld/testsuite/ld-scripts/phdrs.t
index 8f710e2..243dfb1 100644
--- a/ld/testsuite/ld-scripts/phdrs.t
+++ b/ld/testsuite/ld-scripts/phdrs.t
@@ -10,5 +10,5 @@ SECTIONS
. = 0x80000 + SIZEOF_HEADERS;
.text : { *(.text) } :text
.data : { *(.data) } :data
- /DISCARD/ : { *(.reginfo) }
+ /DISCARD/ : { *(.*) }
}