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 | 828baeba6622e4c1cbda2b23e0fbcf0cea8f704f (patch) | |
tree | 2ee99be85f4cd2d842a160e6153ee73b2d8aa882 /ld/testsuite/ld-pe | |
parent | b6f94732c65478b94e3aff7103057796d26c82cb (diff) | |
download | binutils-redhat-828baeba6622e4c1cbda2b23e0fbcf0cea8f704f.tar.gz |
* 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')
-rwxr-xr-x | ld/testsuite/ld-pe/aligncomm-1.c | 6 | ||||
-rwxr-xr-x | ld/testsuite/ld-pe/aligncomm-2.c | 6 | ||||
-rwxr-xr-x | ld/testsuite/ld-pe/aligncomm-3.c | 6 | ||||
-rwxr-xr-x | ld/testsuite/ld-pe/aligncomm-4.c | 6 |
4 files changed, 24 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/aligncomm-1.c b/ld/testsuite/ld-pe/aligncomm-1.c index 44f576e2d6..bff42b8855 100755 --- a/ld/testsuite/ld-pe/aligncomm-1.c +++ b/ld/testsuite/ld-pe/aligncomm-1.c @@ -17,3 +17,9 @@ void __main (void) " .ascii \" -aligncomm:r,4\"\n" " .text"); } + +#if defined (__CYGWIN__) || defined (__MINGW32__) +void _alloca (void) +{ +} +#endif diff --git a/ld/testsuite/ld-pe/aligncomm-2.c b/ld/testsuite/ld-pe/aligncomm-2.c index 3b333625f0..61adc69f9e 100755 --- a/ld/testsuite/ld-pe/aligncomm-2.c +++ b/ld/testsuite/ld-pe/aligncomm-2.c @@ -18,3 +18,9 @@ void __main (void) " .ascii \" -aligncomm:r,4\"\n" " .text"); } + +#if defined (__CYGWIN__) || defined (__MINGW32__) +void _alloca (void) +{ +} +#endif diff --git a/ld/testsuite/ld-pe/aligncomm-3.c b/ld/testsuite/ld-pe/aligncomm-3.c index 04fdfd1c60..ae0dbfb391 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 diff --git a/ld/testsuite/ld-pe/aligncomm-4.c b/ld/testsuite/ld-pe/aligncomm-4.c index 854d9bab23..0c9e65d296 100755 --- a/ld/testsuite/ld-pe/aligncomm-4.c +++ b/ld/testsuite/ld-pe/aligncomm-4.c @@ -20,3 +20,9 @@ void __main (void) " .ascii \" -aligncomm:r,4\"\n" " .text"); } + +#if defined (__CYGWIN__) || defined (__MINGW32__) +void _alloca (void) +{ +} +#endif |