summaryrefslogtreecommitdiff
path: root/opcodes/ft32-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-06-29 10:07:56 +0930
committerAlan Modra <amodra@gmail.com>2020-06-29 10:07:56 +0930
commit279edac53db8fa6482ee3e305c9627f788fd2699 (patch)
treee56013c9acfbfcf19fa97c37555677fe7e1fff3f /opcodes/ft32-dis.c
parent290a25dc2da6f1069f53a063ba8167bd9baf7f9c (diff)
downloadbinutils-gdb-279edac53db8fa6482ee3e305c9627f788fd2699.tar.gz
C++ comments
binutils isn't c99 (yet). This replaces or removes some C++ style comments. bfd/ * arc-got.h: Use C style comments. * coff-z80.c: Likewise. * elf32-csky.c: Likewise. * peXXigen.c: Likewise. * elf32-m32c.c (m32c_elf_relax_delete_bytes): Remove commented out code. binutils/ * dwarf.c: Use C style comments. * resrc.c: Likewise. gas/ * config/tc-s12z.c: Use C style comments. * config/tc-z80.c: Likewise. * config/tc-xtensa.c (emit_ld_r_n): Remove commented out code. include/ * coff/internal.h: Use C style comments. * coff/pe.h: Likewise. * elf/ppc64.h: Likewise. opcodes/ * arm-dis.c: Use C style comments. * cr16-opc.c: Likewise. * ft32-dis.c: Likewise. * moxie-opc.c: Likewise. * tic54x-dis.c: Likewise. * s12z-opc.c: Remove useless comment. * xgate-dis.c: Likewise.
Diffstat (limited to 'opcodes/ft32-dis.c')
-rw-r--r--opcodes/ft32-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/ft32-dis.c b/opcodes/ft32-dis.c
index 5f42fff4f51..f486b38d9c1 100644
--- a/opcodes/ft32-dis.c
+++ b/opcodes/ft32-dis.c
@@ -81,7 +81,7 @@ ft32_opcode(bfd_vma addr ATTRIBUTE_UNUSED,
switch (lobit)
{
case FT32_FLD_CBCRCV:
- // imm is {CB, CV}
+ /* imm is {CB, CV} */
imm = ((iword >> FT32_FLD_CB_BIT) & ((1 << FT32_FLD_CB_SIZ) - 1)) << 4;
imm |= ((iword >> FT32_FLD_CV_BIT) & ((1 << FT32_FLD_CV_SIZ) - 1));
switch (imm)