* unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
registry only.
* crtstuff.c: Likewise.
From-SVN: r49212
+2002-01-25 Jakub Jelinek <jakub@redhat.com>
+
+ * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
+ registry only.
+ * crtstuff.c: Likewise.
+
2002-01-25 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md (negation patterns): Tighten
#endif
#if defined(OBJECT_FORMAT_ELF) && defined(HAVE_LD_EH_FRAME_HDR) \
- && !defined(CRTSTUFFT_O) \
+ && !defined(inhibit_libc) && !defined(CRTSTUFFT_O) \
&& defined(__GLIBC__) && __GLIBC__ >= 2
#include <link.h>
# if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
#include "auto-host.h" /* For HAVE_LD_EH_FRAME_HDR. */
#include "tconfig.h"
+#ifndef inhibit_libc
#include <stddef.h>
#include <stdlib.h>
#include <link.h>
+#endif
#include "tsystem.h"
#include "dwarf2.h"
#include "unwind.h"
#include "unwind-dw2-fde.h"
#include "gthr.h"
-#if defined(HAVE_LD_EH_FRAME_HDR) \
+#if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \
&& (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
|| (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))