c344f84568
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.
28 lines
457 B
C
Executable file
28 lines
457 B
C
Executable file
|
|
typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
|
|
|
|
long s1 = 0;
|
|
long s2 = 0;
|
|
long s3 = 0;
|
|
long s4 = 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
|