summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2015-09-14 22:33:23 +0000
committerDmitry V. Levin <ldv@altlinux.org>2015-09-14 22:33:23 +0000
commita1fa83d8e1d6edf4ac4702013eac3793d81085e3 (patch)
tree220edf408e408df2636c3c08f7a33ac4392a83e9 /defs.h
parent6375f151a73bcd44152e572c323bc5b50fa3255e (diff)
downloadstrace-a1fa83d8e1d6edf4ac4702013eac3793d81085e3.tar.gz
aarch64, ppc64, sparc64, tile: hook up mpers printers
* defs.h [AARCH64 && HAVE_M32_MPERS]: Define PERSONALITY0_INCLUDE_FUNCS, PERSONALITY0_INCLUDE_PRINTERS_DECLS, and PERSONALITY0_INCLUDE_PRINTERS_DEFS. [POWERPC64 && HAVE_M32_MPERS]: Define PERSONALITY1_INCLUDE_FUNCS, PERSONALITY1_INCLUDE_PRINTERS_DECLS, and PERSONALITY1_INCLUDE_PRINTERS_DEFS. [SPARC64 && HAVE_M32_MPERS]: Likewise. [TILE && HAVE_M32_MPERS]: Likewise.
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/defs.h b/defs.h
index 04653c01b..102dedf37 100644
--- a/defs.h
+++ b/defs.h
@@ -194,6 +194,11 @@ extern char *stpcpy(char *dst, const char *src);
# if defined(SPARC64)
# define SUPPORTED_PERSONALITIES 2
# define PERSONALITY1_WORDSIZE 8
+# ifdef HAVE_M32_MPERS
+# define PERSONALITY1_INCLUDE_FUNCS "m32_funcs.h"
+# define PERSONALITY1_INCLUDE_PRINTERS_DECLS "m32_printer_decls.h"
+# define PERSONALITY1_INCLUDE_PRINTERS_DEFS "m32_printer_defs.h"
+# endif
# endif
#endif
@@ -235,12 +240,22 @@ extern char *stpcpy(char *dst, const char *src);
# define PERSONALITY0_WORDSIZE 4
# define PERSONALITY1_WORDSIZE 8
# define DEFAULT_PERSONALITY 1
+# ifdef HAVE_M32_MPERS
+# define PERSONALITY0_INCLUDE_FUNCS "m32_funcs.h"
+# define PERSONALITY0_INCLUDE_PRINTERS_DECLS "m32_printer_decls.h"
+# define PERSONALITY0_INCLUDE_PRINTERS_DEFS "m32_printer_defs.h"
+# endif
#endif
#ifdef POWERPC64
# define SUPPORTED_PERSONALITIES 2
# define PERSONALITY0_WORDSIZE 8
# define PERSONALITY1_WORDSIZE 4
+# ifdef HAVE_M32_MPERS
+# define PERSONALITY1_INCLUDE_FUNCS "m32_funcs.h"
+# define PERSONALITY1_INCLUDE_PRINTERS_DECLS "m32_printer_decls.h"
+# define PERSONALITY1_INCLUDE_PRINTERS_DEFS "m32_printer_defs.h"
+# endif
#endif
#ifdef TILE
@@ -250,6 +265,11 @@ extern char *stpcpy(char *dst, const char *src);
# ifdef __tilepro__
# define DEFAULT_PERSONALITY 1
# endif
+# ifdef HAVE_M32_MPERS
+# define PERSONALITY1_INCLUDE_FUNCS "m32_funcs.h"
+# define PERSONALITY1_INCLUDE_PRINTERS_DECLS "m32_printer_decls.h"
+# define PERSONALITY1_INCLUDE_PRINTERS_DEFS "m32_printer_defs.h"
+# endif
#endif
#ifndef SUPPORTED_PERSONALITIES