2005-12-18 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 18 Dec 2005 16:21:49 +0000 (16:21 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 18 Dec 2005 16:21:49 +0000 (16:21 +0000)
* ld-elf/unknown2.d: New.
* ld-elf/unknown2.s: Likewise.

ld/testsuite/ChangeLog
ld/testsuite/ld-elf/unknown2.d [new file with mode: 0644]
ld/testsuite/ld-elf/unknown2.s [new file with mode: 0644]

index a85aa42a16af6827b39fe3dd8d9e2d62b5152bd5..b2f9f976ef7efbb525ea087fa698fa379d193978 100644 (file)
@@ -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 (file)
index 0000000..5ef0501
--- /dev/null
@@ -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 (file)
index 0000000..8592820
--- /dev/null
@@ -0,0 +1,6 @@
+       .section .note.foo,"a","note"
+       .space 16
+       .section .data,"aw"
+       .space 3800
+       .section .rodata,"a"
+       .space 4