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.
11 lines
254 B
Makefile
11 lines
254 B
Makefile
# name: H8300 Relaxation Test 2
|
|
# ld: --relax -m h8300helf
|
|
# objdump: -d --no-show-raw-insn
|
|
|
|
.*: file format .*-h8300
|
|
|
|
Disassembly of section .text:
|
|
|
|
00000100 <_start>:
|
|
*100: 28 67 * mov.b @0x67:8,r0l
|
|
*102: 6a 08 43 21 * mov.b @0x4321:16,r0l
|