diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2015-09-14 22:33:23 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2015-09-14 22:33:23 +0000 |
commit | a1fa83d8e1d6edf4ac4702013eac3793d81085e3 (patch) | |
tree | 220edf408e408df2636c3c08f7a33ac4392a83e9 /defs.h | |
parent | 6375f151a73bcd44152e572c323bc5b50fa3255e (diff) | |
download | strace-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.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 |