]> Cypherpunks repositories - gostls13.git/commit
debug/plan9obj: implement parsing of Plan 9 a.out executables
authorDavid du Colombier <0intro@gmail.com>
Wed, 22 Jan 2014 22:30:52 +0000 (23:30 +0100)
committerDavid du Colombier <0intro@gmail.com>
Wed, 22 Jan 2014 22:30:52 +0000 (23:30 +0100)
commit021c11683ca28c7e01a2eca5ccbb9b8bd34e3bc1
treeae64432a7c0ad51b59c3a57a09904250c6b14da0
parentf7245c062668199fcb505de47d694ceaed512394
debug/plan9obj: implement parsing of Plan 9 a.out executables

It implements parsing of the header and symbol table for both
32-bit and 64-bit Plan 9 binaries. The nm tool was updated to
use this package.

R=rsc, aram
CC=golang-codereviews
https://golang.org/cl/49970044
src/cmd/nm/nm.go
src/cmd/nm/plan9obj.go [new file with mode: 0644]
src/pkg/debug/plan9obj/file.go [new file with mode: 0644]
src/pkg/debug/plan9obj/file_test.go [new file with mode: 0644]
src/pkg/debug/plan9obj/plan9obj.go [new file with mode: 0644]
src/pkg/debug/plan9obj/testdata/386-plan9-exec [new file with mode: 0755]
src/pkg/debug/plan9obj/testdata/amd64-plan9-exec [new file with mode: 0755]
src/pkg/debug/plan9obj/testdata/hello.c [new file with mode: 0644]