aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr14052.t
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-05 14:15:21 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-05-05 14:15:21 +0000
commit18269b0999d4d6635834063d7eaeed707c536fe6 (patch)
tree5e70229640ab7b85e506174e580993334e59130a /ld/testsuite/ld-elf/pr14052.t
parent1067f99890716fc3a1f90d357f105a7ddf13adc6 (diff)
downloadgdb-18269b0999d4d6635834063d7eaeed707c536fe6.zip
gdb-18269b0999d4d6635834063d7eaeed707c536fe6.tar.gz
gdb-18269b0999d4d6635834063d7eaeed707c536fe6.tar.bz2
Add a testcase for PR ld/14052
PR ld/14052 * ld-elf/pr14052.d: New file. * ld-elf/pr14052.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/pr14052.t')
-rw-r--r--ld/testsuite/ld-elf/pr14052.t11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr14052.t b/ld/testsuite/ld-elf/pr14052.t
new file mode 100644
index 0000000..360c231
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr14052.t
@@ -0,0 +1,11 @@
+SECTIONS {
+ .text : {
+ *(.text)
+ }
+ . = ALIGN (0x1000);
+ .data : {
+ _data_start = .;
+ *(.data)
+ }
+ /DISCARD/ : { *(.*) }
+}