diff options
author | Dave Korn <dave.korn@artimi.com> | 2009-05-21 16:28:45 +0000 |
---|---|---|
committer | Dave Korn <dave.korn@artimi.com> | 2009-05-21 16:28:45 +0000 |
commit | c344f845688ad74a0dbac376736abb71069fa0b1 (patch) | |
tree | bf695153653e6188b49faa11d95b17458e656ba9 /ld/testsuite/ld-pe/aligncomm-3.c | |
parent | d9d2d8b6c09d51c13c6c26a7bfa6bc1bbddf574a (diff) | |
download | gdb-c344f845688ad74a0dbac376736abb71069fa0b1.zip gdb-c344f845688ad74a0dbac376736abb71069fa0b1.tar.gz gdb-c344f845688ad74a0dbac376736abb71069fa0b1.tar.bz2 |
* 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.
Diffstat (limited to 'ld/testsuite/ld-pe/aligncomm-3.c')
-rwxr-xr-x | ld/testsuite/ld-pe/aligncomm-3.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/aligncomm-3.c b/ld/testsuite/ld-pe/aligncomm-3.c index 04fdfd1..ae0dbfb 100755 --- a/ld/testsuite/ld-pe/aligncomm-3.c +++ b/ld/testsuite/ld-pe/aligncomm-3.c @@ -19,3 +19,9 @@ void __main (void) " .ascii \" -aligncomm:r,4\"\n" " .text"); } + +#if defined (__CYGWIN__) || defined (__MINGW32__) +void _alloca (void) +{ +} +#endif |