aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-12-18 16:21:49 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-12-18 16:21:49 +0000
commite6ec7ebdb968be2fce23d0433ea15fd86dd1c267 (patch)
treedaf603d9970e737685bf506b1f9c01424bfd2e72 /ld
parentf1753a02f777605e98d4fd41fa8a24ef562401d7 (diff)
downloadgdb-e6ec7ebdb968be2fce23d0433ea15fd86dd1c267.zip
gdb-e6ec7ebdb968be2fce23d0433ea15fd86dd1c267.tar.gz
gdb-e6ec7ebdb968be2fce23d0433ea15fd86dd1c267.tar.bz2
2005-12-18 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/unknown2.d: New. * ld-elf/unknown2.s: Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/unknown2.d7
-rw-r--r--ld/testsuite/ld-elf/unknown2.s6
3 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index a85aa42..b2f9f97 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-18 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-elf/unknown2.d: New.
+ * ld-elf/unknown2.s: Likewise.
+
2005-12-12 Paul Brook <paul@codesourcery.com>
* ld-arm/arm-call.d: New test.
diff --git a/ld/testsuite/ld-elf/unknown2.d b/ld/testsuite/ld-elf/unknown2.d
new file mode 100644
index 0000000..5ef0501
--- /dev/null
+++ b/ld/testsuite/ld-elf/unknown2.d
@@ -0,0 +1,7 @@
+#source: unknown2.s
+#ld: -shared
+#readelf: -S
+
+#...
+ \[[ 0-9]+\] \.note.foo[ \t]+NOTE[ \t]+.*
+#pass
diff --git a/ld/testsuite/ld-elf/unknown2.s b/ld/testsuite/ld-elf/unknown2.s
new file mode 100644
index 0000000..8592820
--- /dev/null
+++ b/ld/testsuite/ld-elf/unknown2.s
@@ -0,0 +1,6 @@
+ .section .note.foo,"a","note"
+ .space 16
+ .section .data,"aw"
+ .space 3800
+ .section .rodata,"a"
+ .space 4