From 92c6061b5cc214fb7863c1af11cb8581ecb97769 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 18 Jul 2011 12:30:10 -0400 Subject: [PATCH] 5l: assume Linux binary, not Plan 9 R=bradfitz CC=golang-dev https://golang.org/cl/4767042 --- src/cmd/5l/obj.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/cmd/5l/obj.c b/src/cmd/5l/obj.c index 93509054d46..fc5806aac5a 100644 --- a/src/cmd/5l/obj.c +++ b/src/cmd/5l/obj.c @@ -145,18 +145,8 @@ main(int argc, char *argv[]) libinit(); - if(!debug['9'] && !debug['U'] && !debug['B']) - debug[DEFAULT] = 1; - if(HEADTYPE == -1) { - if(debug['U']) - HEADTYPE = Hnoheader; - else if(debug['B']) - HEADTYPE = Hrisc; - else if(debug['9']) - HEADTYPE = Hplan9x32; - else - HEADTYPE = Hlinux; - } + if(HEADTYPE == -1) + HEADTYPE = Hlinux; switch(HEADTYPE) { default: diag("unknown -H option");