linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] make checkstack work with ARCH=powerpc
@ 2006-08-22 14:57 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2006-08-22 14:57 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Paul Mackerras

This patch adds 'powerpc' architecture support to checkstack.pl.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

--- wireless-dev.orig/scripts/checkstack.pl	2006-08-22 15:47:37.000000000 +0200
+++ wireless-dev/scripts/checkstack.pl	2006-08-22 15:47:40.000000000 +0200
@@ -62,6 +62,8 @@ my (@stack, $re, $x, $xs);
 	} elsif ($arch eq 'ppc64') {
 		#XXX
 		$re = qr/.*stdu.*r1,-($x{1,8})\(r1\)/o;
+	} elsif ($arch eq 'powerpc') {
+		$re = qr/.*st[dw]u.*r1,-($x{1,8})\(r1\)/o;
 	} elsif ($arch =~ /^s390x?$/) {
 		#   11160:       a7 fb ff 60             aghi   %r15,-160
 		$re = qr/.*ag?hi.*\%r15,-(([0-9]{2}|[3-9])[0-9]{2})/o;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-22 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-22 14:57 [PATCH] make checkstack work with ARCH=powerpc Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).