Commit | Line | Data |
---|---|---|
3227b2b9 MD |
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"))); | |
5a673446 | 6 | |
3227b2b9 | 7 | void *testfct_int(void) |
5a673446 | 8 | { |
3227b2b9 MD |
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; | |
5a673446 | 20 | } |