Check-in [75ef6d3349]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Removed changes from the MUSL patch to libgcc/gthr.h -- more appropriate patch to follow
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 75ef6d3349fad33f1bd1f39330ba15279ed624bc
User & Date: rkeene 2015-02-12 06:58:58
Context
2015-08-26
23:09
Updated to latest libressl check-in: 12b597c851 user: rkeene tags: trunk
2015-02-12
06:58
Removed changes from the MUSL patch to libgcc/gthr.h -- more appropriate patch to follow check-in: 75ef6d3349 user: rkeene tags: trunk
2015-02-11
21:23
Updated MUSL libc patch to not interfere with libstdc++ on non-MUSL-libc systems check-in: 49e22da48c user: rkeene tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to patches/gcc/gcc-4.8.4-musl.diff.

809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
 
+  if (!implicit && value.value && !integer_zerop (value.value))
+    constructor_zeroinit = 0;
+
   /* Handle superfluous braces around string cst as in
      char x[] = {"foo"}; */
   if (string_flag
Do not use weak references on any targets for gthread. Necessary on musl, safe elsewhere.
**NOT** safe elsewhere.

--- a/libgcc/gthr.h	Thu Jan 29 19:10:06 2015 -0500
+++ b/libgcc/gthr.h	Thu Jan 29 19:10:12 2015 -0500
@@ -136,7 +136,7 @@
 /* The pe-coff weak support isn't fully compatible to ELF's weak.
    For static libraries it might would work, but as we need to deal
    with shared versions too, we disable it for mingw-targets.  */
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || (DEFAULT_LIBC == LIBC_MUSL)
 #undef GTHREAD_USE_WEAK
 #define GTHREAD_USE_WEAK 0
 #endif







<
<
<
<
<
<
<
<
<
<
<
<
<
<
809
810
811
812
813
814
815














 
+  if (!implicit && value.value && !integer_zerop (value.value))
+    constructor_zeroinit = 0;
+
   /* Handle superfluous braces around string cst as in
      char x[] = {"foo"}; */
   if (string_flag