don't try to use __builtin_return_address() on the Alpha. (It's never

worked as far as I can tell, and apparently crashes the kernel when
invoked here.)  From Ross Harvey, PR#3471.
This commit is contained in:
cgd 1997-04-10 05:35:08 +00:00
parent 0350ba7412
commit 89a4d9a733

View File

@ -1,4 +1,4 @@
/* $NetBSD: null.h,v 1.7 1996/05/17 20:53:11 gwr Exp $ */
/* $NetBSD: null.h,v 1.8 1997/04/10 05:35:08 cgd Exp $ */
/*
* Copyright (c) 1992, 1993
@ -64,7 +64,7 @@ struct null_node {
#endif
};
#if !defined(__GNUC__) || __GNUC__ < 2 || \
#if defined(__alpha__) || !defined(__GNUC__) || __GNUC__ < 2 || \
(__GNUC__ == 2 && __GNUC_MINOR__ < 5)
#define RETURN_PC(frameno) (void *)0
#else