aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-10-14 10:52:54 +0000
committerAlan Modra <amodra@gmail.com>2009-10-14 10:52:54 +0000
commit7dff20279654e6dd571705f3fc9bad655d1d1dcd (patch)
tree59b97437f0edc6b081769851185a2b6215a0454a /ld/testsuite
parent46e8a76b3b1536419c69b1033f21f3e4ebe4bdeb (diff)
downloadgdb-7dff20279654e6dd571705f3fc9bad655d1d1dcd.zip
gdb-7dff20279654e6dd571705f3fc9bad655d1d1dcd.tar.gz
gdb-7dff20279654e6dd571705f3fc9bad655d1d1dcd.tar.bz2
* ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-elf/pr349-1.s2
-rw-r--r--ld/testsuite/ld-elf/pr349-2.s2
-rw-r--r--ld/testsuite/ld-elf/pr349.d10
4 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 4596f75..53d111e 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-14 Alan Modra <amodra@bigpond.net.au>
+
+ * ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New.
+
2009-10-09 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10749
diff --git a/ld/testsuite/ld-elf/pr349-1.s b/ld/testsuite/ld-elf/pr349-1.s
new file mode 100644
index 0000000..a205905
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr349-1.s
@@ -0,0 +1,2 @@
+ .section ".abcxyz","ax",%progbits
+ .long 1
diff --git a/ld/testsuite/ld-elf/pr349-2.s b/ld/testsuite/ld-elf/pr349-2.s
new file mode 100644
index 0000000..85f36ca
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr349-2.s
@@ -0,0 +1,2 @@
+ .section ".abcxyz","",%progbits
+ .long 2
diff --git a/ld/testsuite/ld-elf/pr349.d b/ld/testsuite/ld-elf/pr349.d
new file mode 100644
index 0000000..62bbb42
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr349.d
@@ -0,0 +1,10 @@
+#source: pr349-1.s
+#source: pr349-2.s
+#ld: -r
+#readelf: -S
+
+#...
+.* .abcxyz .*
+#...
+.* .abcxyz .*
+#pass