From: Michael Stapelberg Date: Tue, 31 Dec 2013 22:36:13 +0000 (-0800) Subject: debug/elf: add C source for testdata executables X-Git-Tag: go1.3beta1~1079 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=592416a3878d88684ff3817cfb9292c96ee14baa;p=gostls13.git debug/elf: add C source for testdata executables This source file, when compiled with gcc 4.4.3 on Ubuntu lucid, corresponds instruction for instruction to the binaries in the same directory. Shipping this source code file resolves http://bugs.debian.org/716853 R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/46780043 --- diff --git a/src/pkg/debug/elf/testdata/hello.c b/src/pkg/debug/elf/testdata/hello.c new file mode 100644 index 0000000000..34d9ee7923 --- /dev/null +++ b/src/pkg/debug/elf/testdata/hello.c @@ -0,0 +1,7 @@ +#include + +void +main(int argc, char *argv[]) +{ + printf("hello, world\n"); +}