summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-06-14 06:04:23 +0000
committerobrien <obrien@FreeBSD.org>2003-06-14 06:04:23 +0000
commita80cfe492357d8c190a91f25d7c62688b38e5c4a (patch)
tree27ffdc5c4776ede05f0d5d4f961e44f1b439ad90
parent238bdf53678eb2c192c6a8c5762218996ff68f1a (diff)
downloadFreeBSD-src-a80cfe492357d8c190a91f25d7c62688b38e5c4a.zip
FreeBSD-src-a80cfe492357d8c190a91f25d7c62688b38e5c4a.tar.gz
Only use this with a non-GCC compiler.
-rw-r--r--lib/libc/i386/gen/alloca.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/i386/gen/alloca.S b/lib/libc/i386/gen/alloca.S
index 88643d0..4f44db7 100644
--- a/lib/libc/i386/gen/alloca.S
+++ b/lib/libc/i386/gen/alloca.S
@@ -34,6 +34,7 @@
* SUCH DAMAGE.
*/
+#ifndef __GNUC__
#if defined(LIBC_SCCS) && !defined(lint)
.asciz "@(#)alloca.s 5.2 (Berkeley) 5/14/90"
#endif /* LIBC_SCCS and not lint */
@@ -56,3 +57,4 @@ ENTRY(alloca)
pushl 0(%ecx)
pushl %eax /* dummy to pop at callsite */
jmp *%edx /* "return" */
+#endif /*__GNUC__*/
OpenPOWER on IntegriCloud