From: H.J. Lu Date: Sun, 18 Dec 2005 23:50:41 +0000 (+0000) Subject: 2005-12-18 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a95b1bd530314c405350d1ce1d97c254649de74;p=binutils-gdb.git 2005-12-18 H.J. Lu PR ld/2065 * ld-elf/orphan2.d: New file. * ld-elf/orphan2.s: Likewise. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index b2f9f976ef7..b11179d2f3e 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2005-12-18 H.J. Lu + + PR ld/2065 + * ld-elf/orphan2.d: New file. + * ld-elf/orphan2.s: Likewise. + 2005-12-18 H.J. Lu * ld-elf/unknown2.d: New. diff --git a/ld/testsuite/ld-elf/orphan2.d b/ld/testsuite/ld-elf/orphan2.d new file mode 100644 index 00000000000..867a4a9261c --- /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 00000000000..bed8dcd9462 --- /dev/null +++ b/ld/testsuite/ld-elf/orphan2.s @@ -0,0 +1,4 @@ + .text + .long 0 + .section .modinfo,"a","progbits" + .long 0