r226272 - in /branches/google/gcc-4_9: ./ gcc/t...
tmsriram@gcc.gnu.org
tmsriram@gcc.gnu.org
Mon Jul 27 21:12:00 GMT 2015
Author: tmsriram
Date: Mon Jul 27 21:12:40 2015
New Revision: 226272
URL: https://gcc.gnu.org/viewcvs?rev=226272&root=gcc&view=rev
Log:
Backport trunk rev. 222178 to fix a bug with now binding and libgcc:
https://gcc.gnu.org/ml/gcc-patches/2015-04/msg00878.html
Also, make these local changes to libgcc/config/i386/t-linux and
libgcc/config/i386/cpuinfo.c
* Force building of libgcc_s.so.1 with compat-ld and avoid gold to
work around gold bug :
https://sourceware.org/bugzilla/show_bug.cgi?id=18703
* Force symbol __cpu_indicator_init to be hidden in libgcc.a. Trunk
hides all symbols in libgcc.a whereas this config does not.
--- libgcc/config/i386/cpuinfo.c (revision 226260)
+++ libgcc/config/i386/cpuinfo.c (working copy)
@@ -34,6 +34,9 @@
#endif
int __cpu_indicator_init (void)
+#if !defined(SHARED)
+ __attribute__ ((visibility("hidden")))
+#endif
Index: libgcc/config/i386/t-linux
===================================================================
--- libgcc/config/i386/t-linux (revision 226260)
+++ libgcc/config/i386/t-linux (working copy)
@@ -3,4 +3,8 @@
# t-slibgcc-elf-ver and t-linux
SHLIB_MAPFILES = libgcc-std.ver $(srcdir)/config/i386/libgcc-glibc.ver
-HOST_LIBGCC2_CFLAGS += -mlong-double-80
+# Work around gold bug:
+# https://sourceware.org/bugzilla/show_bug.cgi?id=18703
+SHLIB_LDFLAGS += -fuse-ld=bfd
Added:
branches/google/gcc-4_9/gcc/testsuite/g++.dg/ext/mv18.C
- copied unchanged from r222178, trunk/gcc/testsuite/g++.dg/ext/mv18.C
branches/google/gcc-4_9/gcc/testsuite/g++.dg/ext/mv19.C
- copied unchanged from r222178, trunk/gcc/testsuite/g++.dg/ext/mv19.C
branches/google/gcc-4_9/gcc/testsuite/g++.dg/ext/mv20.C
- copied unchanged from r222178, trunk/gcc/testsuite/g++.dg/ext/mv20.C
branches/google/gcc-4_9/gcc/testsuite/g++.dg/ext/mv21.C
- copied unchanged from r222178, trunk/gcc/testsuite/g++.dg/ext/mv21.C
branches/google/gcc-4_9/gcc/testsuite/g++.dg/ext/mv22.C
- copied unchanged from r222178, trunk/gcc/testsuite/g++.dg/ext/mv22.C
branches/google/gcc-4_9/gcc/testsuite/g++.dg/ext/mv23.C
- copied unchanged from r222178, trunk/gcc/testsuite/g++.dg/ext/mv23.C
Modified:
branches/google/gcc-4_9/ (props changed)
branches/google/gcc-4_9/libgcc/config.host
branches/google/gcc-4_9/libgcc/config/i386/cpuinfo.c
branches/google/gcc-4_9/libgcc/config/i386/t-linux
Propchange: branches/google/gcc-4_9/
('svn:mergeinfo' modified)
More information about the Gcc-cvs
mailing list