repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH 40/57][Arm][OBJDUMP] Add support for MVE instructions: vdup, veor, vfma, vfms...
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-auto-import
/
dll.c
blob
ccf85e4f5779af96ea2a97e460c9c8e6be9ca225
1
int
var
=
123
;
2
int
foo
=
121
;
3
4
int
var2
[
2
]= {
123
,
456
};
5
6
#include <stdio.h>
7
8
void
9
print_var
(
void
)
10
{
11
printf
(
"DLL sees var = %d
\n
"
,
var
);
12
}
13
14
void
15
print_foo
(
void
)
16
{
17
printf
(
"DLL sees foo = %d
\n
"
,
foo
);
18
}
19
20
void
(*
func_ptr
)(
void
) =
print_foo
;