Add tests for PR ld/20513
[deliverable/binutils-gdb.git] / ld / testsuite / ld-pe / aligncomm-1.c
CommitLineData
c1711530
DK
1
2typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
204eb8bc 3typedef __SIZE_TYPE__ size_t;
c1711530
DK
4
5long s1 = 0;
6__m128 r;
7__m128 * volatile raddr = &r;
8
9int main (int argc, const char **argv)
10{
204eb8bc 11 return 15 & (int)(size_t)raddr;
c1711530
DK
12}
13
14void __main (void)
15{
16 asm (".section .drectve\n"
17 " .ascii \" -aligncomm:_r,4\"\n"
18 " .ascii \" -aligncomm:r,4\"\n"
19 " .text");
20}
c344f845
DK
21
22#if defined (__CYGWIN__) || defined (__MINGW32__)
23void _alloca (void)
24{
25}
26#endif
This page took 0.53142 seconds and 4 git commands to generate.