From 4bd18faef21c51e02ab6228c50ee036b84c77c99 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor <ian@gcc.gnu.org> Date: Mon, 14 Jan 2013 19:38:07 +0000 Subject: [PATCH] Reverted last patch. From-SVN: r195174 --- libgcc/ChangeLog | 5 ----- libgcc/generic-morestack-thread.c | 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 4ec235298a3e..3f8337ec7973 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -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. diff --git a/libgcc/generic-morestack-thread.c b/libgcc/generic-morestack-thread.c index db912cffc0a1..bbe6dd12b5a2 100644 --- a/libgcc/generic-morestack-thread.c +++ b/libgcc/generic-morestack-thread.c @@ -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, -- GitLab