Commit 212db394 by Jie Zhang Committed by Jie Zhang

* crtstuff.c (USE_PT_GNU_EH_FRAME): Don't define for uClibc.

From-SVN: r127758
parent 2c117a21
2007-08-24 Jie Zhang <jie.zhang@analog.com> 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. * config/bfin/bfin.opt (mfast-fp): Add.
* config/bfin/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Let * config/bfin/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Let
libbffastfp override libgcc if -mfast-fp. libbffastfp override libgcc if -mfast-fp.
......
...@@ -92,7 +92,10 @@ call_ ## FUNC (void) \ ...@@ -92,7 +92,10 @@ call_ ## FUNC (void) \
&& !defined(inhibit_libc) && !defined(CRTSTUFFT_O) \ && !defined(inhibit_libc) && !defined(CRTSTUFFT_O) \
&& defined(__GLIBC__) && __GLIBC__ >= 2 && defined(__GLIBC__) && __GLIBC__ >= 2
#include <link.h> #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))) || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))
# define USE_PT_GNU_EH_FRAME # define USE_PT_GNU_EH_FRAME
# endif # endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment