From: Dmitry V. Levin Date: Mon, 14 Sep 2015 22:33:23 +0000 (+0000) Subject: aarch64, ppc64, sparc64, tile: hook up mpers printers X-Git-Tag: v4.11~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1fa83d8e1d6edf4ac4702013eac3793d81085e3;p=strace 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. --- diff --git a/defs.h b/defs.h index 04653c01..102dedf3 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