Commit | Line | Data |
---|---|---|
1 | int testint __attribute__((weak, visibility("hidden"))); | |
2 | void *testptr __attribute__((weak, visibility("hidden"))); | |
3 | struct { | |
4 | char a[24]; | |
5 | } testsym_24_bytes __attribute__((weak, visibility("hidden"))); | |
6 | ||
7 | void *testfct_int(void) | |
8 | { | |
9 | return &testint; | |
10 | } | |
11 | ||
12 | void *testfct_ptr(void) | |
13 | { | |
14 | return &testptr; | |
15 | } | |
16 | ||
17 | void *testfct_24_bytes(void) | |
18 | { | |
19 | return &testsym_24_bytes; | |
20 | } |