Lines 90-102
Link Here
|
90 |
&& !defined(OBJECT_FORMAT_FLAT) \ |
90 |
&& !defined(OBJECT_FORMAT_FLAT) \ |
91 |
&& defined(HAVE_LD_EH_FRAME_HDR) \ |
91 |
&& defined(HAVE_LD_EH_FRAME_HDR) \ |
92 |
&& !defined(inhibit_libc) && !defined(CRTSTUFFT_O) \ |
92 |
&& !defined(inhibit_libc) && !defined(CRTSTUFFT_O) \ |
93 |
&& defined(__GLIBC__) && __GLIBC__ >= 2 |
93 |
&& ((defined(__GLIBC__) && __GLIBC__ >= 2) \ |
|
|
94 |
|| (defined(__FreeBSD_version) && __FreeBSD_version >= 700022)) |
94 |
#include <link.h> |
95 |
#include <link.h> |
95 |
/* uClibc pretends to be glibc 2.2 and DT_CONFIG is defined in its link.h. |
96 |
/* uClibc pretends to be glibc 2.2 and DT_CONFIG is defined in its link.h. |
96 |
But it doesn't use PT_GNU_EH_FRAME ELF segment currently. */ |
97 |
But it doesn't use PT_GNU_EH_FRAME ELF segment currently. */ |
97 |
# if !defined(__UCLIBC__) \ |
98 |
# if !defined(__UCLIBC__) \ |
98 |
&& (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \ |
99 |
|| (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \ |
99 |
|| (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG))) |
100 |
|| (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG))) \ |
|
|
101 |
|| (__FreeBSD_version >= 700022) |
100 |
# define USE_PT_GNU_EH_FRAME |
102 |
# define USE_PT_GNU_EH_FRAME |
101 |
# endif |
103 |
# endif |
102 |
#endif |
104 |
#endif |