From: Geert Uytterhoeven <geert@linux-m68k.org>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: Finn Thain <ft01@webmastery.com.au>,
Linux/m68k <linux-m68k@lists.linux-m68k.org>,
Matt Mackall <mpm@selenic.com>,
Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: Subject: Re: make checkstack on m68k
Date: Fri, 18 Jun 2004 15:39:38 +0200 (MEST) [thread overview]
Message-ID: <Pine.GSO.4.58.0406181537210.11779@waterleaf.sonytel.be> (raw)
In-Reply-To: <20040618121813.GB18258@wohnheim.fh-wedel.de>
On Fri, 18 Jun 2004, [iso-8859-1] Jörn Engel wrote:
> On Thu, 17 June 2004 21:27:35 +0200, Geert Uytterhoeven wrote:
> > On Thu, 17 Jun 2004, [iso-8859-1] Jörn Engel wrote:
> > >
> > > It's not as ugly as my hack. Can I get a success report from m68k?
> > > Thanks!
>
> Good. Finn, can you resend to me with a signed-off-by: comment? If
> you grow bored, you could seperate the i386 regexes (sub..., add...)
> as well.
If you insist...
Add m68k support to checkstack.pl
Regular expression combination by Andres Schwab
Signed-off-by: geert@linux-m68k.org
--- linux-2.6.7/scripts/checkstack.pl 2004-06-09 14:51:23.000000000 +0200
+++ linux-m68k-2.6.7/scripts/checkstack.pl 2004-06-17 21:31:45.000000000 +0200
@@ -40,6 +40,10 @@
} elsif ($arch =~ /^ia64$/) {
#e0000000044011fc: 01 0f fc 8c adds r12=-384,r12
$re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o;
+ } elsif ($arch =~ /^m68k$/) {
+ # 2b6c: 4e56 fb70 linkw %fp,#-1168
+ # 1df770: defc ffe4 addaw #-28,%sp
+ $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o;
} elsif ($arch =~ /^mips64$/) {
#8800402c: 67bdfff0 daddiu sp,sp,-16
$re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next prev parent reply other threads:[~2004-06-18 13:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200406161930.VAA16618@pfultra.phil.uni-sb.de>
2004-06-17 8:43 ` Finn Thain
2004-06-17 18:36 ` Jörn Engel
2004-06-17 19:27 ` Geert Uytterhoeven
2004-06-18 12:18 ` Jörn Engel
2004-06-18 13:39 ` Geert Uytterhoeven [this message]
2004-06-18 13:43 ` Jörn Engel
2004-06-18 15:59 ` Finn Thain
2004-06-18 16:06 ` Jörn Engel
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=Pine.GSO.4.58.0406181537210.11779@waterleaf.sonytel.be \
--to=geert@linux-m68k.org \
--cc=ft01@webmastery.com.au \
--cc=joern@wohnheim.fh-wedel.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=mpm@selenic.com \
/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®