]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR 9954/other
authorReinhard Jessich <reinhard.jessich@telering.at>
Thu, 6 Mar 2003 20:19:22 +0000 (21:19 +0100)
committerJoel Sherrill <joel@gcc.gnu.org>
Thu, 6 Mar 2003 20:19:22 +0000 (20:19 +0000)
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

gcc/ChangeLog
gcc/config/i386/linux.h

index 5d7f88892d034b871928840c2a8bdc7201190b67..dc4208d1ba7f7ff8bc0eff5308309bbaae1a46fd 100644 (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
index b07bd03aacd4f680ca494108b58a3b889c2a6c65..08407e1695a11aabcaae04c1856ac1f604bed3d2 100644 (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  */