diff options
author | Alan Modra <amodra@gmail.com> | 2020-06-29 10:07:56 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-06-29 10:07:56 +0930 |
commit | 279edac53db8fa6482ee3e305c9627f788fd2699 (patch) | |
tree | e56013c9acfbfcf19fa97c37555677fe7e1fff3f /bfd/coff-z80.c | |
parent | 290a25dc2da6f1069f53a063ba8167bd9baf7f9c (diff) | |
download | fsf-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/coff-z80.c')
-rw-r--r-- | bfd/coff-z80.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/coff-z80.c b/bfd/coff-z80.c index 8913fb5..16f83cf 100644 --- a/bfd/coff-z80.c +++ b/bfd/coff-z80.c @@ -373,7 +373,7 @@ extra_case (bfd *in_abfd, case R_IMM8: if (reloc->howto->partial_inplace) val += bfd_get_8 ( in_abfd, data+*src_ptr) & reloc->howto->src_mask; - //fallthrough + /* Fall through. */ case R_BYTE0: bfd_put_8 (in_abfd, val, data + *dst_ptr); (*dst_ptr) += 1; @@ -389,7 +389,7 @@ extra_case (bfd *in_abfd, case R_IMM16: if (reloc->howto->partial_inplace) val += bfd_get_16 ( in_abfd, data+*src_ptr) & reloc->howto->src_mask; - //fallthrough + /* Fall through. */ case R_WORD0: bfd_put_16 (in_abfd, val, data + *dst_ptr); (*dst_ptr) += 2; |