aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-h8300/relax.d
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-07-04 10:25:14 +0000
committerNick Clifton <nickc@redhat.com>2003-07-04 10:25:14 +0000
commit8c17da6e594c61837ef20620791a2e55d323d3d2 (patch)
tree3164d2a2c5bac945f499b238f31d79c71085e6b3 /ld/testsuite/ld-h8300/relax.d
parent35cad4c475cf2bb3c7a99fa2d2c1303a5d2cb00e (diff)
downloadgdb-8c17da6e594c61837ef20620791a2e55d323d3d2.zip
gdb-8c17da6e594c61837ef20620791a2e55d323d3d2.tar.gz
gdb-8c17da6e594c61837ef20620791a2e55d323d3d2.tar.bz2
* 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.
Diffstat (limited to 'ld/testsuite/ld-h8300/relax.d')
-rw-r--r--ld/testsuite/ld-h8300/relax.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-h8300/relax.d b/ld/testsuite/ld-h8300/relax.d
index a5672a5..2bf61c7 100644
--- a/ld/testsuite/ld-h8300/relax.d
+++ b/ld/testsuite/ld-h8300/relax.d
@@ -1,4 +1,4 @@
-# name: H8300 Relxation Test
+# name: H8300 Relaxation Test
# ld: --relax
# objdump: -d --no-show-raw-insn
@@ -11,8 +11,8 @@ Disassembly of section .text:
00000100 <_start>:
100: 0d 00 mov.w r0,r0
- 102: 47 02 beq .+2 \(106\)
- 104: 55 02 bsr .+2 \(108\)
+ 102: 47 02 beq .+2 \(0x106\)
+ 104: 55 02 bsr .+2 \(0x108\)
00000106 <.L1>:
106: 54 70 rts