68bfb94e7e
2006-05-20 Andreas Tobler <a.tobler@schweiz.ch> John David Anglin <dave.anglin@nrc-cnrc.gc.ca> * configure.ac: Add the POSIX thread libs to the HP-UX PA configuration. Add signal specification for HP-UX PA. * configure: Rebuilt. * configure.host: Add defaults for the HP-UX PA architecture. Add descriptor files for HP-UX PA 32-bit and 64-bit. * include/hppa-signal.h: New file. * include/posix.h: Add shared library suffix for HP-UX. * sysdep/pa/descriptor-pa32-hpux.h: New file. * sysdep/pa/descriptor-pa64-hpux.h: Likewise. Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca> From-SVN: r113937
7 lines
299 B
C
7 lines
299 B
C
// 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)
|