test(int i)1 int __attribute__((__ms_abi__)) test(int i)
2 {
3     return i;
4 }
5 
6 /*
7  * Populate an array with "addresses" of relocatable and absolute values.
8  * This is to probe ld for (a) emitting base relocations at all and (b) not
9  * emitting base relocations for absolute symbols.
10  */
11 extern const unsigned char __image_base__[], __file_alignment__[],
12                            __section_alignment__[];
13 const void *const data[] = {
14     __image_base__,
15     __file_alignment__,
16     __section_alignment__,
17     data,
18 };
19