xref: /OK3568_Linux_fs/kernel/tools/perf/tests/pe-file.c (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun // SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun 
3*4882a593Smuzhiyun // pe-file.exe and pe-file.exe.debug built with;
4*4882a593Smuzhiyun // x86_64-w64-mingw32-gcc -o pe-file.exe pe-file.c
5*4882a593Smuzhiyun //   -Wl,--file-alignment,4096 -Wl,--build-id
6*4882a593Smuzhiyun // x86_64-w64-mingw32-objcopy --only-keep-debug
7*4882a593Smuzhiyun //   --compress-debug-sections pe-file.exe pe-file.exe.debug
8*4882a593Smuzhiyun // x86_64-w64-mingw32-objcopy --strip-debug
9*4882a593Smuzhiyun //   --add-gnu-debuglink=pe-file.exe.debug pe-file.exe
10*4882a593Smuzhiyun 
main(int argc,char const * argv[])11*4882a593Smuzhiyun int main(int argc, char const *argv[])
12*4882a593Smuzhiyun {
13*4882a593Smuzhiyun 	return 0;
14*4882a593Smuzhiyun }
15