about summary refs log tree commit diff
path: root/sysdeps/gnu/unwind-resume.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/unwind-resume.c')
-rw-r--r--sysdeps/gnu/unwind-resume.c4
1 files changed, 4 insertions, 0 deletions
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;
 }