aboutsummaryrefslogtreecommitdiff
path: root/gcc/crtstuff.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2002-01-25 11:22:52 +0000
committerJakub Jelinek <jakub@redhat.com>2002-01-25 11:22:52 +0000
commit00bccb1868b2dca59e8add813cdb1acdd5cb67eb (patch)
treed153023a61454f68b666d5a3672d567b9fb49ba8 /gcc/crtstuff.c
parentdd3c7a9f906f8a440b945da5972da79897d235c9 (diff)
* unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
registry only. * crtstuff.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@49212 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/crtstuff.c')
-rw-r--r--gcc/crtstuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c
index 8beb64cf51c..4c6fc58c0e6 100644
--- a/gcc/crtstuff.c
+++ b/gcc/crtstuff.c
@@ -67,7 +67,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#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) \