diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-02-08 18:46:00 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-02-08 18:46:00 +0100 |
commit | 28b067571e98d3047da7020014502ff2391703be (patch) | |
tree | 463331703373a4c3f3b9e544122d74eb5bc31f7a | |
parent | ff782688919b51476a3021400e229fef075a0237 (diff) | |
download | glibc-28b067571e98d3047da7020014502ff2391703be.tar.gz glibc-28b067571e98d3047da7020014502ff2391703be.tar.xz glibc-28b067571e98d3047da7020014502ff2391703be.zip |
hurd: fix unwind-resume.c build
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/gnu/unwind-resume.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 35d99c1fd5..a1cffb57ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,10 @@ 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org> * time/getdate.c: Include <stdbool.h>. - * sysdeps/gnu/unwind-resume.c [!PTR_DEMANGLE] (_Unwind_Resume, - __gcc_personality_v0): Do not call PTR_DEMANGLE. + * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not + call PTR_MANGLE. + [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call + PTR_DEMANGLE. 2015-02-07 Paul Eggert <eggert@cs.ucla.edu> diff --git a/sysdeps/gnu/unwind-resume.c b/sysdeps/gnu/unwind-resume.c index d446804ddf..534f8a9c92 100644 --- a/sysdeps/gnu/unwind-resume.c +++ b/sysdeps/gnu/unwind-resume.c @@ -43,9 +43,13 @@ __libgcc_s_init (void) __libc_fatal (LIBGCC_S_SO " must be installed for pthread_cancel to work\n"); +#ifdef PTR_MANGLE PTR_MANGLE (resume); +#endif __libgcc_s_resume = resume; +#ifdef PTR_MANGLE PTR_MANGLE (personality); +#endif libgcc_s_personality = personality; } |