This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgcc symbol version fixes


This patch, previously posted in another thread at 
<http://gcc.gnu.org/ml/gcc-patches/2010-03/msg01025.html>, adds a 
target-independent definition of the GCC_4.5.0 symbol version, and puts 
the previously missing __unordxf2 and __unordtf2 symbols there.  (The 
target-specific files already providing versions for these symbols also 
use %exclude for them, so the versions on such targets are unaffected.)

Bootstrapped with no regressions on x86_64-unknown-linux-gnu.  OK to 
commit?

2010-03-29  Joseph Myers  <joseph@codesourcery.com>

	PR other/25232
	* libgcc-std.ver (GCC_4.5.0): Define version.  Include __unordxf2
	and __unordtf2.
	* config/bfin/libgcc-bfin.ver (GCC_4.5.0): Define version.
	Include ___unordxf2 and ___unordtf2.
	* config/i386/libgcc-glibc.ver: Do not define inheritance from
	GCC_4.4.0 here.

Index: config/i386/libgcc-glibc.ver
===================================================================
--- config/i386/libgcc-glibc.ver	(revision 157621)
+++ config/i386/libgcc-glibc.ver	(working copy)
@@ -1,4 +1,4 @@
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2010 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
@@ -180,9 +180,6 @@
   __trunctfxf2
   __unordtf2
 }
-# It is OK to have a duplicate of %inherit in libgcc-std.ver since
-# mkmap-symver.awk always takes the last %inherit statement.
-%inherit GCC_4.5.0 GCC_4.4.0
 GCC_4.5.0 {
   __extendxftf2
 }
Index: config/bfin/libgcc-bfin.ver
===================================================================
--- config/bfin/libgcc-bfin.ver	(revision 157621)
+++ config/bfin/libgcc-bfin.ver	(working copy)
@@ -1906,3 +1906,9 @@
 
   ___sync_synchronize
 }
+
+%inherit GCC_4.5.0 GCC_4.4.0
+GCC_4.5.0 {
+  ___unordxf2
+  ___unordtf2
+}
Index: libgcc-std.ver
===================================================================
--- libgcc-std.ver	(revision 157621)
+++ libgcc-std.ver	(working copy)
@@ -1,5 +1,5 @@
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-# 2008 Free Software Foundation, Inc.
+# 2008, 2010 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
@@ -1904,3 +1904,9 @@
 
   __sync_synchronize
 }
+
+%inherit GCC_4.5.0 GCC_4.4.0
+GCC_4.5.0 {
+  __unordxf2
+  __unordtf2
+}

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]