Push the alloca #error warning farther down to play nicer with some out of
tree local translator. Requested by: jmallett
This commit is contained in:
parent
76a1e6ad1d
commit
0ab6a0c787
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116833
@ -236,8 +236,6 @@ extern void (*_malloc_message)(const char *, const char *, const char *,
|
||||
#define alloca(sz) __builtin_alloca(sz)
|
||||
#elif defined(lint)
|
||||
void *alloca(size_t);
|
||||
#else
|
||||
#error Please add alloca support on all FreeBSD architectures for this compiler.
|
||||
#endif
|
||||
|
||||
__uint32_t
|
||||
|
@ -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__*/
|
||||
|
Loading…
Reference in New Issue
Block a user