old-cross-binutils/ld/testsuite/ld-h8300/relax-2.s
Nick Clifton 8c17da6e59 * elf32-h8300.c (R_H8_DIR32A16): Fix name field.
(elf32_h8_relax_section) <R_H8_DIR16A8>: Adjust position of relocation.
<R_H8_DIR32A16>: Fix type of relocation.

* ld-h8300/h8300.exp: Replace loop with explicit list.  Run relax.d
unconditionally.  Run relax-2.d for *-elf targets.
* ld-h8300/relax.d: Fix typo.
* ld-h8300/relax.s: Add 0x prefixes.
* ld-h8300/relad-2.[sd]: New test.
2003-07-04 10:25:14 +00:00

8 lines
107 B
ArmAsm

.h8300h
.globl _start
_start:
mov.b @foo:16,r0l
mov.b @bar:32,r0l
.equ foo,0xffff67
.equ bar,0x4321