* elf32-h8300 (h8_relax_section): Add new relaxation of mov
[deliverable/binutils-gdb.git] / ld / testsuite / ld-h8300 / relax-2.s
index aa82dba2bbeffe8ea9f9ba828f9db37e4c530580..8e096b83863eaf55a6ad9e588101ee92f609d50f 100644 (file)
@@ -2,7 +2,19 @@
        .globl  _start
 _start:
        mov.b   @foo:16,r0l
+       mov.b   r0l,@foo:16
        mov.b   @bar:32,r0l
+       mov.b   r0l,@bar:32
 
-       .equ    foo,0xffff67
-       .equ    bar,0x4321
+       mov.w   @foo:16,r0
+       mov.w   r0,@foo:16
+       mov.w   @bar:32,r0
+       mov.w   r0,@bar:32
+
+       mov.l   @foo:16,er0
+       mov.l   er0,@foo:16
+       mov.l   @bar:32,er0
+       mov.l   er0,@bar:32
+
+       .equ    foo,0xffff64
+       .equ    bar,0x4320
This page took 0.023826 seconds and 4 git commands to generate.