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