Your message dated Sun, 2 Nov 2003 16:54:59 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Patch installed
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Nov 2003 23:42:37 +0000
>From [EMAIL PROTECTED] Sat Nov 01 17:42:35 2003
Return-path: <[EMAIL PROTECTED]>
Received: from gandalf.tausq.org (pippin.tausq.org) [64.81.244.94]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1AG5O7-00022P-00; Sat, 01 Nov 2003 17:42:35 -0600
Received: by pippin.tausq.org (Postfix, from userid 1000)
id 372B7CD2F8; Sat, 1 Nov 2003 15:43:35 -0800 (PST)
Date: Sat, 1 Nov 2003 15:43:35 -0800
From: Randolph Chung <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [hppa][patch] fix syscalls for hppa
Message-ID: <[EMAIL PROTECTED]>
Reply-To: Randolph Chung <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="FCuugMFkClbJLl1L"
Content-Disposition: inline
X-GPG: for GPG key, see http://www.tausq.org/gpg.txt
User-Agent: Mutt/1.5.3i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-9.4 required=4.0
tests=BAYES_10,HAS_PACKAGE,PATCH_UNIFIED_DIFF
autolearn=ham version=2.53-bugs.debian.org_2003_11_1
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_1
(1.174.2.15-2003-03-30-exp)
--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: glibc
Version: 2.3.2.ds1-8
Severity: important
Tags: patch
There are some missing paranethses in the hppa syscall code, so some
syscalls don't have their arguments loaded correctly (e.g.
INLINE_SYSCALL(..., x<<31, ...) doesn't work for pread).
This patch fixes it.
thanks
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="hppa-syscall.dpatch"
#! /bin/sh -e
# DP: Description: Make sure syscall arguments are loaded properly
# DP: Author: Randolph Chung <[EMAIL PROTECTED]>
# DP: Upstream status: Pending
# DP: Date: Sat, 01 Nov 2003 15:36:04 -0800
if [ $# -ne 2 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) patch -d "$2" -f --no-backup-if-mismatch -p0 < $0;;
-unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p0 < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
esac
exit 0
2003-11-01 Randolph Chung <[EMAIL PROTECTED]>
* sysdeps/unix/sysv/linux/hppa/sysdep.h elf/Makefile (LOAD_ARGS):
Ensure arguments are loaded correctly
--- sysdeps/unix/sysv/linux/hppa/sysdep.h.orig 2003-11-01 14:16:40.000000000 -0800
+++ sysdeps/unix/sysv/linux/hppa/sysdep.h 2003-11-01 14:17:36.000000000 -0800
@@ -387,22 +387,22 @@
#define LOAD_ARGS_0()
#define LOAD_ARGS_1(r26) \
- register unsigned long __r26 __asm__("r26") = (unsigned long)r26; \
+ register unsigned long __r26 __asm__("r26") = (unsigned long)(r26); \
LOAD_ARGS_0()
#define LOAD_ARGS_2(r26,r25) \
- register unsigned long __r25 __asm__("r25") = (unsigned long)r25; \
+ register unsigned long __r25 __asm__("r25") = (unsigned long)(r25); \
LOAD_ARGS_1(r26)
#define LOAD_ARGS_3(r26,r25,r24) \
- register unsigned long __r24 __asm__("r24") = (unsigned long)r24; \
+ register unsigned long __r24 __asm__("r24") = (unsigned long)(r24); \
LOAD_ARGS_2(r26,r25)
#define LOAD_ARGS_4(r26,r25,r24,r23) \
- register unsigned long __r23 __asm__("r23") = (unsigned long)r23; \
+ register unsigned long __r23 __asm__("r23") = (unsigned long)(r23); \
LOAD_ARGS_3(r26,r25,r24)
#define LOAD_ARGS_5(r26,r25,r24,r23,r22) \
- register unsigned long __r22 __asm__("r22") = (unsigned long)r22; \
+ register unsigned long __r22 __asm__("r22") = (unsigned long)(r22); \
LOAD_ARGS_4(r26,r25,r24,r23)
#define LOAD_ARGS_6(r26,r25,r24,r23,r22,r21) \
- register unsigned long __r21 __asm__("r21") = (unsigned long)r21; \
+ register unsigned long __r21 __asm__("r21") = (unsigned long)(r21); \
LOAD_ARGS_5(r26,r25,r24,r23,r22)
/* Even with zero args we use r20 for the syscall number */
--FCuugMFkClbJLl1L--
---------------------------------------
Received: (at 218660-done) by bugs.debian.org; 2 Nov 2003 21:55:00 +0000
>From [EMAIL PROTECTED] Sun Nov 02 15:54:59 2003
Return-path: <[EMAIL PROTECTED]>
Received: from nevyn.them.org [66.93.172.17]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1AGQBX-0008CW-00; Sun, 02 Nov 2003 15:54:59 -0600
Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian))
id 1AGQBX-00055U-AU
for <[EMAIL PROTECTED]>; Sun, 02 Nov 2003 16:54:59 -0500
Date: Sun, 2 Nov 2003 16:54:59 -0500
From: Daniel Jacobowitz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Patch installed
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.1i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=0.0 required=4.0
tests=none
version=2.53-bugs.debian.org_2003_11_1
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_1
(1.174.2.15-2003-03-30-exp)
Closed in ds1-9.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]