|
|
@ -1,6 +1,6 @@ |
|
|
|
--- a/libgcc/crtstuff.c
|
|
|
|
--- a/libgcc/crtstuff.c
|
|
|
|
+++ b/libgcc/crtstuff.c
|
|
|
|
+++ b/libgcc/crtstuff.c
|
|
|
|
@@ -100,15 +100,20 @@ call_ ## FUNC (void) \
|
|
|
|
@@ -100,15 +100,22 @@ call_ ## FUNC (void) \
|
|
|
|
#if defined(OBJECT_FORMAT_ELF) \
|
|
|
|
#if defined(OBJECT_FORMAT_ELF) \
|
|
|
|
&& !defined(OBJECT_FORMAT_FLAT) \
|
|
|
|
&& !defined(OBJECT_FORMAT_FLAT) \
|
|
|
|
&& defined(HAVE_LD_EH_FRAME_HDR) \
|
|
|
|
&& defined(HAVE_LD_EH_FRAME_HDR) \
|
|
|
@ -24,6 +24,8 @@ |
|
|
|
+ || (__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
|
|
|
|
|
|
|
|
+# else
|
|
|
|
|
|
|
|
+# define USE_PT_GNU_EH_FRAME
|
|
|
|
# endif
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|