summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-06-25 19:06:40 +0000
committerobrien <obrien@FreeBSD.org>2003-06-25 19:06:40 +0000
commit58faa585911a131d9fb334f51ff5dcf26f461e63 (patch)
treed167749b8b5ac22d853ad41f4270fa914a361914 /lib/libc/i386
parent13d3acecb2e22a9d178077a8ccf00b400ddb9735 (diff)
downloadFreeBSD-src-58faa585911a131d9fb334f51ff5dcf26f461e63.zip
FreeBSD-src-58faa585911a131d9fb334f51ff5dcf26f461e63.tar.gz
Push the alloca #error warning farther down to play nicer with some out of
tree local translator. Requested by: jmallett
Diffstat (limited to 'lib/libc/i386')
-rw-r--r--lib/libc/i386/gen/alloca.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/i386/gen/alloca.S b/lib/libc/i386/gen/alloca.S
index 4f44db7..657c114 100644
--- a/lib/libc/i386/gen/alloca.S
+++ b/lib/libc/i386/gen/alloca.S
@@ -34,7 +34,9 @@
* SUCH DAMAGE.
*/
-#ifndef __GNUC__
+#if !defined(__GNUC__) && !defined(__INTEL_COMPILER)
+#error Please add alloca support for this compiler on FreeBSD.
+
#if defined(LIBC_SCCS) && !defined(lint)
.asciz "@(#)alloca.s 5.2 (Berkeley) 5/14/90"
#endif /* LIBC_SCCS and not lint */
@@ -57,4 +59,4 @@ ENTRY(alloca)
pushl 0(%ecx)
pushl %eax /* dummy to pop at callsite */
jmp *%edx /* "return" */
-#endif /*__GNUC__*/
+#endif /*!__GNUC__*/
OpenPOWER on IntegriCloud