Commit 92c6061b authored by Russ Cox's avatar Russ Cox

5l: assume Linux binary, not Plan 9

R=bradfitz
CC=golang-dev
https://golang.org/cl/4767042
parent 3745716b
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment