diff options
-rw-r--r-- | ld/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/orphan2.d | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/orphan2.s | 4 |
3 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index b2f9f97..b11179d 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,11 @@ 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. diff --git a/ld/testsuite/ld-elf/orphan2.d b/ld/testsuite/ld-elf/orphan2.d new file mode 100644 index 0000000..867a4a9 --- /dev/null +++ b/ld/testsuite/ld-elf/orphan2.d @@ -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 diff --git a/ld/testsuite/ld-elf/orphan2.s b/ld/testsuite/ld-elf/orphan2.s new file mode 100644 index 0000000..bed8dcd --- /dev/null +++ b/ld/testsuite/ld-elf/orphan2.s @@ -0,0 +1,4 @@ + .text + .long 0 + .section .modinfo,"a","progbits" + .long 0 |