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.
25 lines
418 B
C
Executable file
25 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
|