Can someone please explain the columns printed by "go tool objdump"?
For example: TEXT %22%22.main(SB) gofile../Users/abuchanan/projects/gobuild/simple/main. go main.go:3 0x2db 65488b0c2500000000 MOVQ GS:0, CX [5:9]R_TLS_LE main.go:3 0x2e4 483b6110 CMPQ 0x10(CX), SP main.go:3 0x2e8 763b JBE 0x325 main.go:3 0x2ea 4883ec18 SUBQ $0x18, SP main.go:3 0x2ee 48896c2410 MOVQ BP, 0x10(SP) main.go:3 0x2f3 488d6c2410 LEAQ 0x10(SP), BP main.go:4 0x2f8 e800000000 CALL 0x2fd [1:5 ]R_CALL:runtime.printlock main.go:4 0x2fd 488d0500000000 LEAQ 0(IP), AX [3:7]R_PCREL:go.string."main" main.go:4 0x304 48890424 MOVQ AX, 0(SP) main.go:4 0x308 48c744240804000000 MOVQ $0x4, 0x8(SP) main.go:4 0x311 e800000000 CALL 0x316 [1:5 ]R_CALL:runtime.printstring main.go:4 0x316 e800000000 CALL 0x31b [1:5 ]R_CALL:runtime.printunlock main.go:5 0x31b 488b6c2410 MOVQ 0x10(SP), BP main.go:5 0x320 4883c418 ADDQ $0x18, SP main.go:5 0x324 c3 RET main.go:3 0x325 e800000000 CALL 0x32a [1:5 ]R_CALL:runtime.morestack_noctxt main.go:3 0x32a ebaf JMP %22%22.main(SB) Column 1 is the source file + line. Column 4 is the machine code instruction. I'm not sure what columns 2, 3, and 5 are. Also not sure what the "TEXT %22%22.main(SB) gofile../Users/abuchanan/projects/gobuild/simple/ main.go" line is. Thanks. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/a532e0fa-c219-46b9-8760-1aac9aaf0aca%40googlegroups.com.