projects
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.base
/
shreloc.c
1
#if defined(_WIN32) || defined(__CYGWIN__)
2
# define ATTRIBUTES __attribute((__dllimport__))
3
#else
4
# define ATTRIBUTES
5
#endif
6
7
extern
ATTRIBUTES
void
fn_1
(
int
);
8
extern
ATTRIBUTES
void
fn_2
(
int
);
9
extern
ATTRIBUTES
int
extern_var_1
;
10
extern
ATTRIBUTES
int
extern_var_2
;
11
12
int
main
()
13
{
14
fn_1
(
extern_var_1
);
15
fn_2
(
extern_var_2
);
16
17
return
0
;
18
}