From 021c11683ca28c7e01a2eca5ccbb9b8bd34e3bc1 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 22 Jan 2014 23:30:52 +0100 Subject: 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/pkg/debug/plan9obj/testdata/hello.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/pkg/debug/plan9obj/testdata/hello.c (limited to 'src/pkg/debug/plan9obj/testdata/hello.c') diff --git a/src/pkg/debug/plan9obj/testdata/hello.c b/src/pkg/debug/plan9obj/testdata/hello.c new file mode 100644 index 0000000000..c0d633e29f --- /dev/null +++ b/src/pkg/debug/plan9obj/testdata/hello.c @@ -0,0 +1,8 @@ +#include +#include + +void +main(void) +{ + print("hello, world\n"); +} -- cgit v1.3