aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/libjava/sysdep/pa/descriptor-pa64-hpux.h
blob: bc6af6b8701b2f90eb20b0c3aa3475b5e94955fa (plain)
1
2
3
4
5
6
// Given a function pointer, return the code address.
// If the plabel bit is set, mask it off and return the code from the
// first word of the function descriptor.  Otherwise, the function
// pointer is the code address.

#define UNWRAP_FUNCTION_DESCRIPTOR(X) *(void **)((unsigned long) (X) + 16)