On Fri, Jun 30, 2017 at 07:32:54AM +0000, John Halfpenny wrote: > # file test.o > test.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped >
I think that's the output it gives for a linux object file. compare: $ GOOS=linux go build hello.go; file hello hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped, with debug_info $ GOOS=netbsd go build hello.go; file hello hello: ELF 64-bit LSB executable, x86-64, version 1 (NetBSD), statically linked, for NetBSD 5.99, not stripped, with debug_info