2005-12-18 H.J. Lu <hongjiu.lu@intel.com>

PR ld/2065
	* ld-elf/orphan2.d: New file.
	* ld-elf/orphan2.s: Likewise.
This commit is contained in:
H.J. Lu 2005-12-18 23:50:41 +00:00
parent 3981a2d0fe
commit 7a95b1bd53
3 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -0,0 +1,8 @@
#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

View File

@ -0,0 +1,4 @@
.text
.long 0
.section .modinfo,"a","progbits"
.long 0