summaryrefslogtreecommitdiff
path: root/opcodes/sh-dis.c
diff options
context:
space:
mode:
authorAndrew Stubbs <andrew.stubbs@st.com>2006-10-20 14:47:05 +0000
committerAndrew Stubbs <andrew.stubbs@st.com>2006-10-20 14:47:05 +0000
commitc9144f64400c37a416ab9f207326e67fedf23bb1 (patch)
treec7443cf603c6e0a7c0452ea353c9a61b37c0973d /opcodes/sh-dis.c
parentfc5066f82d285aa5db04e4d17b731679f3459ad6 (diff)
downloadbinutils-redhat-c9144f64400c37a416ab9f207326e67fedf23bb1.tar.gz
2006-10-20 Andrew Stubbs <andrew.stubbs@st.com>
opcodes/ * sh-dis.c (print_insn_sh): Remove 0x from output to prevent GDB duplicating it. gas/testsuite/ * gas/sh/pcrel-coff.d: Update patterns (remove 0x on addresses). * gas/sh/pcrel-hms.d: Likewise. * gas/sh/pcrel.d: Likewise. * gas/sh/pcrel2.d: Likewise. * gas/sh/pic.d: Likewise. * gas/sh/tlsd.d: Likewise. * gas/sh/tlsdnopic.d: Likewise. * gas/sh/tlsdpic.d: Likewise.
Diffstat (limited to 'opcodes/sh-dis.c')
-rw-r--r--opcodes/sh-dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/sh-dis.c b/opcodes/sh-dis.c
index 381fa4da8d..0dee9109cd 100644
--- a/opcodes/sh-dis.c
+++ b/opcodes/sh-dis.c
@@ -924,11 +924,11 @@ print_insn_sh (bfd_vma memaddr, struct disassemble_info *info)
}
if ((*info->symbol_at_address_func) (val, info))
{
- fprintf_fn (stream, "\t! 0x");
+ fprintf_fn (stream, "\t! ");
(*info->print_address_func) (val, info);
}
else
- fprintf_fn (stream, "\t! 0x%x", val);
+ fprintf_fn (stream, "\t! %x", val);
}
}