]> git.pld-linux.org Git - packages/strace.git/blob - strace-sparc64.patch
- sparc/sparc64 updates
[packages/strace.git] / strace-sparc64.patch
1 --- strace-4.5.14/defs.h.orig   2006-01-12 11:18:53.000000000 +0100
2 +++ strace-4.5.14/defs.h        2006-01-21 22:59:49.045368750 +0100
3 @@ -193,14 +193,15 @@
4  
5  #ifdef LINUXSPARC
6  #include <linux/a.out.h>
7 -#include <asm/psr.h>
8  #define PERSONALITY0_WORDSIZE 4
9  #define PERSONALITY1_WORDSIZE 4
10  #undef  SUPPORTED_PERSONALITIES
11  #if defined(SPARC64)
12 +#include <asm/psrcompat.h>
13  #define SUPPORTED_PERSONALITIES 3
14  #define PERSONALITY2_WORDSIZE 8
15  #else
16 +#include <asm/psr.h>
17  #define SUPPORTED_PERSONALITIES 2
18  #endif /* SPARC64 */
19  #endif /* LINUXSPARC */
20 --- strace-4.5.15/mem.c.orig    2006-12-13 19:57:23.000000000 +0000
21 +++ strace-4.5.15/mem.c 2007-04-16 19:56:59.687032000 +0000
22 @@ -541,7 +541,7 @@
23         return 0;
24  }
25  
26 -#if defined(ALPHA) || defined(FREEBSD) || defined(IA64) || defined(SUNOS4) || defined(SVR4)
27 +#if defined(ALPHA) || defined(FREEBSD) || defined(IA64) || defined(SUNOS4) || defined(SVR4) || defined(SPARC) || defined(SPARC64)
28  int
29  sys_getpagesize(tcp)
30  struct tcb *tcp;
This page took 0.063642 seconds and 3 git commands to generate.