mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 11:52:25 +01:00
13 lines
559 B
Diff
13 lines
559 B
Diff
--- ./libgcc/crtstuff.c.orig Mon Nov 17 16:02:38 2008
|
|
+++ ./libgcc/crtstuff.c Mon Nov 17 16:02:52 2008
|
|
@@ -94,8 +94,7 @@
|
|
#include <link.h>
|
|
/* 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) \
|
|
+# if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
|
|
|| (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))
|
|
# define USE_PT_GNU_EH_FRAME
|
|
# endif
|