Reverted last patch.
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 14 Jan 2013 19:38:07 +0000 (19:38 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 14 Jan 2013 19:38:07 +0000 (19:38 +0000)
From-SVN: r195174

libgcc/ChangeLog
libgcc/generic-morestack-thread.c

index 4ec235298a3e3d7050f77917c37ddf0bb65b1038..3f8337ec79733578378c8554a9d5eccf3c4e8951 100644 (file)
@@ -1,8 +1,3 @@
-2013-01-14  Ian Lance Taylor  <iant@google.com>
-
-       * generic-morestack-thread.c: Change declaration of
-       __real_pthread_create to not be weak.
-
 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
 
        * config/avr/lib1funcs.S: Remove trailing blanks.
index db912cffc0a1fbf4ac1c1c2997ffaf1862e97dd4..bbe6dd12b5a2835562e022fdcfaffb052835751b 100644 (file)
@@ -136,7 +136,8 @@ int __wrap_pthread_create (pthread_t *, const pthread_attr_t *,
   __attribute__ ((visibility ("hidden")));
 
 extern int __real_pthread_create (pthread_t *, const pthread_attr_t *,
-                                 void *(*start_routine) (void *), void *);
+                                 void *(*start_routine) (void *), void *)
+  __attribute__ ((weak));
 
 int
 __wrap_pthread_create (pthread_t *tid, const pthread_attr_t *attr,