mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
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.
26 lines
418 B
C
Executable File
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
|