move libgcc_s soname definition to shlib-versions
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 26 Apr 2012 03:48:48 +0000 (09:18 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 26 Apr 2012 03:49:54 +0000 (09:19 +0530)
ChangeLog
nptl/ChangeLog
nptl/sysdeps/pthread/unwind-forcedunwind.c
scripts/test-installation.pl
shlib-versions
sysdeps/generic/framestate.c
sysdeps/generic/libgcc_s.h [deleted file]
sysdeps/gnu/unwind-resume.c

index 56ad6da0dd3f134599f42e2f38eea065e7296cb8..65cb6ba554d6661791b782415650d4ff3d63d7a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * shlib-versions: Add libgcc_s version information.
+       * sysdeps/generic/libgcc_s.h: Remove.
+       * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
+       libgcc_s.h.
+       * sysdeps/gnu/unwind-resume.c: Likewise.
+       * scripts/test-installation.pl: Remove libgcc_s from link_libs.
+
 2012-04-25  David S. Miller  <davem@davemloft.net>
 
        * sysdeps/unix/sparc/brk.S: Delete.
index 40b01cfac77ffe14c635760307397c8790377e4e..194dcc39a3e26fe1b64c933c625847d1bb3d03b4 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * sysdeps/pthread/unwind-forcedunwind.c: Include gnu/lib-names.h
+       instead of libgcc_s.h.
+
 2012-04-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
        * sysdeps/x86_64/tls.h (TLS_GET_FS, TLS_SET_FS): Delete.
index adce6e721e08d5d4aead501cfa26ab137cd48d39..60dfbe6c92b4314234b6a93e5c6c9f1fd1c35b47 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003, 2005, 2006, 2009, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>.
 
@@ -21,7 +21,7 @@
 #include <unwind.h>
 #include <pthreadP.h>
 #include <sysdep.h>
-#include <libgcc_s.h>
+#include <gnu/lib-names.h>
 
 static void *libgcc_s_handle;
 static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
index c4f3d6df01b73204dd09b1c40e2d0ee232727555..1b22086bf96e9cbd9f0b65ed5ac9fc6f0ed99e1e 100755 (executable)
@@ -1,5 +1,5 @@
 #! /usr/bin/perl -w
-# Copyright (C) 1997, 1998, 1999, 2004, 2011 Free Software Foundation, Inc.
+# Copyright (C) 1997-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1997.
 
@@ -105,9 +105,10 @@ while (<SOVERSIONS>) {
     # - libnss1_* from glibc-compat add-on
     # - libthread_db since it contains unresolved references
     # - it's just a test NSS module
+    # - We don't provide the libgcc so we don't test it
     if ($name ne "nss_ldap" && $name ne "db1"
        && !($name =~/^nss1_/) && $name ne "thread_db"
-       && $name ne "nss_test1") {
+       && $name ne "nss_test1" && $name ne "libgcc_s") {
       $link_libs .= " -l$name";
       $versions{$name} = $version;
     }
index c530a44dffe89fa3e621dec62bc00a1d61fa9a6d..840e08fbd1525ef51ecc8eb317b20f23b4f8991e 100644 (file)
@@ -124,3 +124,7 @@ sparc64.*-.*-.*             libBrokenLocale=1       GLIBC_2.2
 
 # The asynchronous name lookup library.
 .*-.*-.*               libanl=1
+
+# This defines the libgcc soname version this glibc is to load for
+# asynchronous cancellation to work correctly.
+.*-.*-.*               libgcc_s=1
index 3638bbee7f1bc85414de1e42e8be98a0f16d8cc8..3bad5b579b10c7ef9b02b132bb8efeb26e36fef8 100644 (file)
@@ -1,5 +1,5 @@
 /* __frame_state_for unwinder helper function wrapper.
-   Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+   Copyright (C) 2001-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 2001.
 
@@ -23,7 +23,7 @@
 #define __frame_state_for fallback_frame_state_for
 #include <unwind-dw2.c>
 #undef __frame_state_for
-#include <libgcc_s.h>
+#include <gnu/lib-names.h>
 
 typedef struct frame_state * (*framesf)(void *pc, struct frame_state *);
 struct frame_state *__frame_state_for (void *pc,
diff --git a/sysdeps/generic/libgcc_s.h b/sysdeps/generic/libgcc_s.h
deleted file mode 100644 (file)
index e74a103..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* Name of libgcc_s library provided by gcc.  */
-#define LIBGCC_S_SO "libgcc_s.so.1"
index 1d3e33f7d5aff10fd9a3e6ba8c5785737f1bdfe9..6afaebdaa0cd15c193b3fd9cac37ac099f7c37e1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>.
 
@@ -19,7 +19,7 @@
 #include <dlfcn.h>
 #include <stdio.h>
 #include <unwind.h>
-#include <libgcc_s.h>
+#include <gnu/lib-names.h>
 
 static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
 static _Unwind_Reason_Code (*libgcc_s_personality)