]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/ld: trivial: fix unhandled switch case
authorDave Cheney <dave@cheney.net>
Tue, 9 Jul 2013 02:14:32 +0000 (21:14 -0500)
committerDave Cheney <dave@cheney.net>
Tue, 9 Jul 2013 02:14:32 +0000 (21:14 -0500)
Fix warning found by clang 3.3.

R=rsc, r
CC=golang-dev
https://golang.org/cl/11022043

src/cmd/ld/lib.c

index 50e41ff776c96109d4c3be313bd2e1a2e60f09d5..d9e3af4c0fb8a8e23f1bb467f63bc5972416da73 100644 (file)
@@ -665,6 +665,9 @@ hostlink(void)
        case '6':
                argv[argc++] = "-m64";
                break;
+       case '5':
+               // nothing required for arm
+               break;
        }
        if(!debug['s'] && !debug_s) {
                argv[argc++] = "-gdwarf-2";