aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr12627.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-04-04 16:36:29 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-04-04 16:36:29 +0000
commita3293649cdf2585cbe25d9a742b84b2e7bd6111c (patch)
tree8e984a78a498e49cc322121903ea6ea379196c1f /ld/testsuite/ld-i386/pr12627.s
parentb78a6381e064af8956daf6a016774a6cadd551d3 (diff)
downloadgdb-a3293649cdf2585cbe25d9a742b84b2e7bd6111c.zip
gdb-a3293649cdf2585cbe25d9a742b84b2e7bd6111c.tar.gz
gdb-a3293649cdf2585cbe25d9a742b84b2e7bd6111c.tar.bz2
Add a testcase for PR ld/12627.
2011-04-04 H.J. Lu <hongjiu.lu@intel.com> PR ld/12627 * ld-i386/i386.exp: Run pr12627. * ld-i386/pr12627.d: New. * ld-i386/pr12627.s: Likewise. * ld-i386/pr12627.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-i386/pr12627.s')
-rw-r--r--ld/testsuite/ld-i386/pr12627.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr12627.s b/ld/testsuite/ld-i386/pr12627.s
new file mode 100644
index 0000000..305dfd5
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr12627.s
@@ -0,0 +1,11 @@
+ .section ".text16","ax"
+ .globl _start
+_start:
+ movl $__bss16_start, %edi
+ movl $__bss16_dwords, %ecx
+ xorl %eax, %eax
+ rep movsl
+ ret
+
+ .section ".bss16","ax"
+ .space 1024