PR ld/2065
* ld-elf/orphan2.d: New file.
* ld-elf/orphan2.s: Likewise.
2005-12-18 H.J. Lu <hongjiu.lu@intel.com>
+ PR ld/2065
+ * ld-elf/orphan2.d: New file.
+ * ld-elf/orphan2.s: Likewise.
+
+2005-12-18 H.J. Lu <hongjiu.lu@intel.com>
+
* ld-elf/unknown2.d: New.
* ld-elf/unknown2.s: Likewise.
--- /dev/null
+#source: orphan2.s
+#ld: -r
+#readelf: -S --wide
+
+#...
+ \[[ 0-9]+\] \.text[ \t]+PROGBITS[ \t0-9a-f]+AX?.*
+ \[[ 0-9]+\] \.modinfo[ \t]+PROGBITS[ \t0-9a-f]+A.*
+#pass
--- /dev/null
+ .text
+ .long 0
+ .section .modinfo,"a","progbits"
+ .long 0