* crtstuff.c (USE_PT_GNU_EH_FRAME): Don't define for uClibc.
From-SVN: r127758
This commit is contained in:
parent
2c117a21b0
commit
212db394b3
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-08-24 Jie Zhang <jie.zhang@analog.com>
|
||||
|
||||
* crtstuff.c (USE_PT_GNU_EH_FRAME): Don't define for uClibc.
|
||||
|
||||
2007-08-24 Jie Zhang <jie.zhang@analog.com>
|
||||
|
||||
* config/bfin/bfin.opt (mfast-fp): Add.
|
||||
|
|
|
@ -92,7 +92,10 @@ call_ ## FUNC (void) \
|
|||
&& !defined(inhibit_libc) && !defined(CRTSTUFFT_O) \
|
||||
&& defined(__GLIBC__) && __GLIBC__ >= 2
|
||||
#include <link.h>
|
||||
# if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
|
||||
/* uClibc pretends to be glibc 2.2 and DT_CONFIG is defined in its link.h.
|
||||
But it doesn't use PT_GNU_EH_FRAME ELF segment currently. */
|
||||
# if !defined(__UCLIBC__) \
|
||||
&& (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
|
||||
|| (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))
|
||||
# define USE_PT_GNU_EH_FRAME
|
||||
# endif
|
||||
|
|
Loading…
Add table
Reference in a new issue