]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-pe/aligncomm-3.c
* elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-pe / aligncomm-3.c
1
2 typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
3 typedef __SIZE_TYPE__ size_t;
4
5 long s1 = 0;
6 long s2 = 0;
7 long s3 = 0;
8 __m128 r;
9 __m128 * volatile raddr = &r;
10
11 int main (int argc, const char **argv)
12 {
13 return 15 & (int)(size_t)raddr;
14 }
15
16 void __main (void)
17 {
18 asm (".section .drectve\n"
19 " .ascii \" -aligncomm:_r,4\"\n"
20 " .ascii \" -aligncomm:r,4\"\n"
21 " .text");
22 }
23
24 #if defined (__CYGWIN__) || defined (__MINGW32__)
25 void _alloca (void)
26 {
27 }
28 #endif