aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/unwind-link.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/generic/unwind-link.h b/sysdeps/generic/unwind-link.h
index a2076a23bf..ea031a04d0 100644
--- a/sysdeps/generic/unwind-link.h
+++ b/sysdeps/generic/unwind-link.h
@@ -61,16 +61,12 @@ libc_hidden_proto (__libc_unwind_link_get)
/* UNWIND_LINK_PTR returns the stored function pointer NAME from the
cached unwind link OBJ (which was previously returned by
__libc_unwind_link_get). */
-# ifdef PTR_DEMANGLE
-# define UNWIND_LINK_PTR(obj, name, ...) \
+# define UNWIND_LINK_PTR(obj, name, ...) \
({ \
__typeof ((obj)->ptr_##name) __unwind_fptr = (obj)->ptr_##name; \
PTR_DEMANGLE (__unwind_fptr); \
__unwind_fptr; \
})
-# else /* !PTR_DEMANGLE */
-# define UNWIND_LINK_PTR(obj, name, ...) ((obj)->ptr_##name)
-# endif
/* Called from fork, in the new subprocess. */
void __libc_unwind_link_after_fork (void);