binutils-gdb/ld/testsuite/ld-pe/aligncomm-1.c
Dave Korn c344f84568 * ld-pe/aligncomm-1.c (_alloca): Add dummy definition to
satisfy final link on Windows targets when using gcc-3.
	* ld-pe/aligncomm-2.c (_alloca):  Likewise.
	* ld-pe/aligncomm-3.c (_alloca):  Likewise.
	* ld-pe/aligncomm-4.c (_alloca):  Likewise.
2009-05-21 16:28:45 +00:00

26 lines
418 B
C
Executable File

typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
long s1 = 0;
__m128 r;
__m128 * volatile raddr = &r;
int main (int argc, const char **argv)
{
return 15 & (int)raddr;
}
void __main (void)
{
asm (".section .drectve\n"
" .ascii \" -aligncomm:_r,4\"\n"
" .ascii \" -aligncomm:r,4\"\n"
" .text");
}
#if defined (__CYGWIN__) || defined (__MINGW32__)
void _alloca (void)
{
}
#endif