summaryrefslogtreecommitdiff
path: root/gcc/crtstuff.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-25 11:22:52 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-25 11:22:52 +0000
commit3cfa3abaa0aea0f9fbdf79af6038b318e7e7371a (patch)
treed153023a61454f68b666d5a3672d567b9fb49ba8 /gcc/crtstuff.c
parent781a1a0ee7af28af3087e0a26c89925a5cd2b514 (diff)
downloadgcc-3cfa3abaa0aea0f9fbdf79af6038b318e7e7371a.tar.gz
* unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
registry only. * crtstuff.c: Likewise. git-svn-id: svn+ssh://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) \