From: "D.J. Barrow" <barrow_dj@yahoo.com>
To: Kernel Mailing List <linux-kernel@vger.kernel.org>,
Ralf Baechle <ralf@uni-koblenz.de>
Subject: mips unaligned.c bugfix
Date: Fri, 27 Sep 2002 09:26:01 -0700 (PDT) [thread overview]
Message-ID: <20020927162601.72935.qmail@web10407.mail.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 976 bytes --]
Hi Ralf & others,
I found & fixed kernel bug in unaligned.c which was affecting the iptables code
in little mips32 endian.
The patch is against 2.4.17 on oss.sgi.com & should hopefully apply to the latest
kernel.
The fixes code for I did mips 64 is untested, I had no way to test them unfortunately.
An example of the bug is the bug following sequence of mips instructions
beqz v0,<destaddr>
lw v0,(t3)
say reg t3 points to an unaligned address
In the emulation the v0 register was being loaded & modified before
the computation of the destination address ( which depended on v0 )
this was incorrect so I had to save the updating of the v0 register
until the computation of the destination address was done.
=====
D.J. Barrow Linux kernel developer
eMail: dj_barrow@ariasoft.ie
Home: +353-22-47196.
Work: +353-91-758353
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
[-- Attachment #2: unaligned.diff --]
[-- Type: application/x-unknown, Size: 5536 bytes --]
reply other threads:[~2002-09-27 16:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020927162601.72935.qmail@web10407.mail.yahoo.com \
--to=barrow_dj@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ralf@uni-koblenz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®