From: Reinhard Jessich Date: Thu, 6 Mar 2003 20:19:22 +0000 (+0100) Subject: PR 9954/other X-Git-Tag: releases/gcc-3.2.3~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a5c1479ed4f254b73ceec360976c3eb28f56c3a;p=thirdparty%2Fgcc.git PR 9954/other 2003-03-06 Reinhard Jessich PR 9954/other * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Since this uses it should be wrapped in an inhibit_libc conditional like the same code in config/i386/linux64.h. From-SVN: r63902 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d7f88892d03..dc4208d1ba7f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2003-03-06 Reinhard Jessich + + PR 9954/other + * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Since this uses + it should be wrapped in an inhibit_libc conditional + like the same code in config/i386/linux64.h. + 2003-03-05 Eric Botcazou PR c/9799 diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index b07bd03aacd4..08407e1695a1 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -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 #include @@ -278,3 +280,4 @@ Boston, MA 02111-1307, USA. */ (FS)->retaddr_column = 8; \ goto SUCCESS; \ } while (0) +#endif /* ifndef inhibit_libc */