]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.base/shreloc2.c
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / shreloc2.c
CommitLineData
53df362e
RG
1#if defined(_WIN32) || defined(__CYGWIN__)
2# define ATTRIBUTES __attribute((__dllexport__))
3#else
4# define ATTRIBUTES
5#endif
6
7static int static_var_2;
8
96b0c7ac 9ATTRIBUTES void fn_2 (int referenced) { static_var_2 = referenced; }
53df362e 10ATTRIBUTES int extern_var_2 = 0;