From 328ec95878d15fb823d8ff6f9c9b2658874f6ab9 Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Mon, 8 Jul 2013 21:14:32 -0500 Subject: [PATCH] cmd/ld: trivial: fix unhandled switch case Fix warning found by clang 3.3. R=rsc, r CC=golang-dev https://golang.org/cl/11022043 --- src/cmd/ld/lib.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cmd/ld/lib.c b/src/cmd/ld/lib.c index 50e41ff776c..d9e3af4c0fb 100644 --- a/src/cmd/ld/lib.c +++ b/src/cmd/ld/lib.c @@ -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";