mirror of
https://github.com/golang/go
synced 2024-11-21 21:44:40 -07:00
5l: assume Linux binary, not Plan 9
R=bradfitz CC=golang-dev https://golang.org/cl/4767042
This commit is contained in:
parent
3745716bc3
commit
92c6061b5c
@ -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
|
||||
if(HEADTYPE == -1)
|
||||
HEADTYPE = Hlinux;
|
||||
}
|
||||
switch(HEADTYPE) {
|
||||
default:
|
||||
diag("unknown -H option");
|
||||
|
Loading…
Reference in New Issue
Block a user