Reverted last patch.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jan 2013 19:38:07 +0000 (19:38 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jan 2013 19:38:07 +0000 (19:38 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195174 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 4ec2352..3f8337e 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 db912cf..bbe6dd1 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,