aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-csky.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 /bfd/elf32-csky.c
parent290a25dc2da6f1069f53a063ba8167bd9baf7f9c (diff)
downloadfsf-binutils-gdb-279edac53db8fa6482ee3e305c9627f788fd2699.zip
fsf-binutils-gdb-279edac53db8fa6482ee3e305c9627f788fd2699.tar.gz
fsf-binutils-gdb-279edac53db8fa6482ee3e305c9627f788fd2699.tar.bz2
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 'bfd/elf32-csky.c')
-rw-r--r--bfd/elf32-csky.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-csky.c b/bfd/elf32-csky.c
index ea58e14..669284b 100644
--- a/bfd/elf32-csky.c
+++ b/bfd/elf32-csky.c
@@ -3738,8 +3738,8 @@ csky_relocate_contents (reloc_howto_type *howto,
/* FIXME: these macros should be defined at file head or head file head. */
#define CSKY_INSN_ADDI_TO_SUBI 0x04000000
-#define CSKY_INSN_MOV_RTB 0xc41d4820 // mov32 rx, r29, 0
-#define CSKY_INSN_MOV_RDB 0xc41c4820 // mov32 rx, r28, 0
+#define CSKY_INSN_MOV_RTB 0xc41d4820 /* mov32 rx, r29, 0 */
+#define CSKY_INSN_MOV_RDB 0xc41c4820 /* mov32 rx, r28, 0 */
#define CSKY_INSN_GET_ADDI_RZ(x) (((x) & 0x03e00000) >> 21)
#define CSKY_INSN_SET_MOV_RZ(x) ((x) & 0x0000001f)
#define CSKY_INSN_JSRI_TO_LRW 0xea9a0000