diff options
author | Roland McGrath <roland@redhat.com> | 2003-01-14 07:53:41 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2003-01-14 07:53:41 +0000 |
commit | f5c450d3c5353a74b0370b27594c70d3ad74ef47 (patch) | |
tree | f2100efc16f8efea8ee84a996053761d917f9679 /io.c | |
parent | 6e87ee0d5c9459d3c6c14050c6a59cba54ae8d45 (diff) | |
download | strace-f5c450d3c5353a74b0370b27594c70d3ad74ef47.tar.gz strace-f5c450d3c5353a74b0370b27594c70d3ad74ef47.tar.bz2 strace-f5c450d3c5353a74b0370b27594c70d3ad74ef47.tar.xz |
2003-01-13 Roland McGrath <roland@redhat.com>
* defs.h [POWERPC] (UESP, EIP, EAX, ORIG_EAX): Remove this cruft.
[LINUX && POWERPC && !__powerpc64__] (ALIGN64): New macro.
* io.c (sys_pread, sys_pwrite): Use ALIGN64.
From Anton Blanchard <anton@samba.org>.
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -242,6 +242,7 @@ struct tcb *tcp; tprintf("%#lx", tcp->u_arg[1]); else printstr(tcp, tcp->u_arg[1], tcp->u_rval); + ALIGN64 (tcp, 2); /* PowerPC alignment restriction */ tprintf(", %lu, %llu", tcp->u_arg[2], *(unsigned long long *)&tcp->u_arg[3]); } @@ -255,6 +256,7 @@ struct tcb *tcp; if (entering(tcp)) { tprintf("%ld, ", tcp->u_arg[0]); printstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); + ALIGN64 (tcp, 2); /* PowerPC alignment restriction */ tprintf(", %lu, %llu", tcp->u_arg[2], *(unsigned long long *)&tcp->u_arg[3]); } |