* 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.
This commit is contained in:
Dave Korn 2009-05-21 16:28:45 +00:00
parent d9d2d8b6c0
commit c344f84568
5 changed files with 32 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2009-05-21 Dave Korn <dave.korn.cygwin@gmail.com>
* 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-20 Dave Korn <dave.korn.cygwin@gmail.com>
* lib/ld-lib.exp (run_ld_link_tests): Filter test names against

View File

@ -17,3 +17,9 @@ void __main (void)
" .ascii \" -aligncomm:r,4\"\n"
" .text");
}
#if defined (__CYGWIN__) || defined (__MINGW32__)
void _alloca (void)
{
}
#endif

View File

@ -18,3 +18,9 @@ void __main (void)
" .ascii \" -aligncomm:r,4\"\n"
" .text");
}
#if defined (__CYGWIN__) || defined (__MINGW32__)
void _alloca (void)
{
}
#endif

View File

@ -19,3 +19,9 @@ void __main (void)
" .ascii \" -aligncomm:r,4\"\n"
" .text");
}
#if defined (__CYGWIN__) || defined (__MINGW32__)
void _alloca (void)
{
}
#endif

View File

@ -20,3 +20,9 @@ void __main (void)
" .ascii \" -aligncomm:r,4\"\n"
" .text");
}
#if defined (__CYGWIN__) || defined (__MINGW32__)
void _alloca (void)
{
}
#endif