linux.h: Wrap MD_FALLBACK_FRAME_STATE_FOR and associated includes in #ifndef inhibit_...
authorRichard Sandiford <rsandifo@redhat.com>
Fri, 24 Oct 2003 15:06:07 +0000 (15:06 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 24 Oct 2003 15:06:07 +0000 (15:06 +0000)
* config/mips/linux.h: Wrap MD_FALLBACK_FRAME_STATE_FOR and
associated includes in #ifndef inhibit_libc.

From-SVN: r72898

gcc/ChangeLog
gcc/config/mips/linux.h

index 45b9fa451ae7dbe74eca81306fac68e794ecb0d8..19ab2eda3b63517098d6cbc308da5cb5fbbb6dee 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-24  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/linux.h: Wrap MD_FALLBACK_FRAME_STATE_FOR and
+       associated includes in #ifndef inhibit_libc.
+
 2003-10-24  Roger Sayle  <roger@eyesopen.com>
 
        * doc/libgcc.texi: Document some more of the libgcc API.
index 1785a147036d5d09bd76200a573d2225b73ab490..48c5e3c908d13e40e1f979f42a4cc1a7580bd3ee 100644 (file)
@@ -193,6 +193,7 @@ Boston, MA 02111-1307, USA.  */
 %{!shared: %{pthread:-lpthread} \
   %{profile:-lc_p} %{!profile: -lc}}"
 
+#ifndef inhibit_libc
 /* Do code reading to identify a signal frame, and set the frame
    state data appropriately.  See unwind-dw2.c for the structs.  */
 #ifdef IN_LIBGCC2
@@ -262,3 +263,4 @@ typedef struct _sig_ucontext {
                                                                      \
     goto SUCCESS;                                                    \
   } while (0)
+#endif