gcc: update gcc 5.x musl patches
[openwrt/staging/yousong.git] / toolchain / gcc / patches / 5.2.0 / 850-use_shared_libgcc.patch
index d7ba9627aa40cd571cbc4608789a4185fee86bfc..5818cf4da0ab8334501944a4b6b679011f81567f 100644 (file)
@@ -13,7 +13,7 @@
     is used.  */
 --- a/gcc/config/linux.h
 +++ b/gcc/config/linux.h
-@@ -51,6 +51,10 @@ see the files COPYING3 and COPYING.RUNTI
+@@ -53,6 +53,10 @@ see the files COPYING3 and COPYING.RUNTI
        builtin_assert ("system=posix");                        \
      } while (0)
  
@@ -22,8 +22,8 @@
 +#endif
 +
  /* Determine which dynamic linker to use depending on whether GLIBC or
-    uClibc or Bionic is the default C library and whether
-    -muclibc or -mglibc or -mbionic has been passed to change the default.  */
+    uClibc or Bionic or musl is the default C library and whether
+    -muclibc or -mglibc or -mbionic or -mmusl has been passed to change
 --- a/libgcc/mkmap-symver.awk
 +++ b/libgcc/mkmap-symver.awk
 @@ -132,5 +132,5 @@ function output(lib) {
@@ -35,7 +35,7 @@
  }
 --- a/gcc/config/rs6000/linux.h
 +++ b/gcc/config/rs6000/linux.h
-@@ -56,6 +56,9 @@
+@@ -60,6 +60,9 @@
  #undef        CPP_OS_DEFAULT_SPEC
  #define CPP_OS_DEFAULT_SPEC "%(cpp_os_linux)"