x86_64: fix invoking sysupgrade on PARTUUID mounted system
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / 4.8-linaro / 860-uclibc_use_eh_frame.patch
index 0464bd7d267f62a22ba018452142063363c99ccc..637803ec3b88d4d478eef57006c197eaf296b434 100644 (file)
@@ -1,6 +1,6 @@
 --- a/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) \
      && !defined(OBJECT_FORMAT_FLAT) \
      && defined(HAVE_LD_EH_FRAME_HDR) \
@@ -24,6 +24,8 @@
 +       || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))
 +#   define USE_PT_GNU_EH_FRAME
 +#  endif
++# else
++#   define USE_PT_GNU_EH_FRAME
  # endif
  #endif