PR 9954/other

2003-03-06  Reinhard Jessich <reinhard.jessich@telering.at>

	PR 9954/other
	* config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Since this uses
	<sys/ucontext.h> it should be wrapped in an inhibit_libc conditional
	like the same code in config/i386/linux64.h.

From-SVN: r63902
This commit is contained in:
Reinhard Jessich 2003-03-06 21:19:22 +01:00 committed by Joel Sherrill
parent bd3238d0f0
commit 7a5c1479ed
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2003-03-06 Reinhard Jessich <reinhard.jessich@telering.at>
PR 9954/other
* config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Since this uses
<sys/ucontext.h> it should be wrapped in an inhibit_libc conditional
like the same code in config/i386/linux64.h.
2003-03-05 Eric Botcazou <ebotcazou@libertysurf.fr>
PR c/9799

View File

@ -218,8 +218,10 @@ Boston, MA 02111-1307, USA. */
#endif
/* Do code reading to identify a signal frame, and set the frame
state data appropriately. See unwind-dw2.c for the structs. */
state data appropriately. See unwind-dw2.c for the structs.
Don't use this at all if inhibit_libc is used. */
#ifndef inhibit_libc
#ifdef IN_LIBGCC2
#include <signal.h>
#include <sys/ucontext.h>
@ -278,3 +280,4 @@ Boston, MA 02111-1307, USA. */
(FS)->retaddr_column = 8; \
goto SUCCESS; \
} while (0)
#endif /* ifndef inhibit_libc */