1
0
mirror of https://github.com/golang/go synced 2024-11-12 06:30:21 -07:00

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
This commit is contained in:
Michael Stapelberg 2013-12-31 14:36:13 -08:00 committed by Ian Lance Taylor
parent e3040e2bba
commit 592416a387

7
src/pkg/debug/elf/testdata/hello.c vendored Normal file
View File

@ -0,0 +1,7 @@
#include <stdio.h>
void
main(int argc, char *argv[])
{
printf("hello, world\n");
}