mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
8c17da6e59
(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.
9 lines
107 B
ArmAsm
9 lines
107 B
ArmAsm
.h8300h
|
|
.globl _start
|
|
_start:
|
|
mov.b @foo:16,r0l
|
|
mov.b @bar:32,r0l
|
|
|
|
.equ foo,0xffff67
|
|
.equ bar,0x4321
|