* gfortran.dg/ieee/ieee_1.F90: Revert rename.
[gcc.git] / libgcc / generic-morestack-thread.c
index db912cffc0a1fbf4ac1c1c2997ffaf1862e97dd4..8b571a7cf4c92d8ebb9aa951c5a13830b551ccbe 100644 (file)
@@ -1,5 +1,5 @@
 /* Thread library support for -fsplit-stack.  */
-/* Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2014 Free Software Foundation, Inc.
    Contributed by Ian Lance Taylor <iant@google.com>.
 
 This file is part of GCC.
@@ -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,