From 592416a3878d88684ff3817cfb9292c96ee14baa Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 31 Dec 2013 14:36:13 -0800 Subject: [PATCH] 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 --- src/pkg/debug/elf/testdata/hello.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/pkg/debug/elf/testdata/hello.c 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"); +} -- 2.50.0