From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sipsolutions.net (crystal.sipsolutions.net [195.210.38.204]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 368F867BED for ; Wed, 23 Aug 2006 00:56:38 +1000 (EST) Subject: [PATCH] make checkstack work with ARCH=powerpc From: Johannes Berg To: linuxppc-dev Content-Type: text/plain Date: Tue, 22 Aug 2006 16:57:05 +0200 Message-Id: <1156258625.3825.5.camel@ux156> Mime-Version: 1.0 Cc: Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This patch adds 'powerpc' architecture support to checkstack.pl. Signed-off-by: Johannes Berg --- 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;