]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/ld: add fallthrough comment
authorAustin Clements <austin@google.com>
Thu, 18 Dec 2014 22:34:19 +0000 (17:34 -0500)
committerAustin Clements <austin@google.com>
Thu, 18 Dec 2014 22:54:50 +0000 (22:54 +0000)
Change-Id: Ia6739c164575751a63cc0d4d41d1f6887fbbaee3
Reviewed-on: https://go-review.googlesource.com/1803
Reviewed-by: Minux Ma <minux@golang.org>
src/cmd/ld/elf.c

index c20232c550a34d62ebf8f2a4022d3b8d91bc1120..b17d66890f2ecb4e832d835f01fc36cd675688d2 100644 (file)
@@ -49,6 +49,7 @@ elfinit(void)
                        hdr.flags = 1;          /* Version 1 ABI */
                else
                        hdr.flags = 2;          /* Version 2 ABI */
+               // fallthrough
        case '6':
                elf64 = 1;
                hdr.phoff = ELF64HDRSIZE;       /* Must be be ELF64HDRSIZE: first PHdr must follow ELF header */