diff options
author | Randy Dunlap <rddunlap@osdl.org> | 2004-10-25 04:05:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-25 04:05:47 -0700 |
commit | 0f4b6dfa98586bf0b3e11513319595ce82dc371c (patch) | |
tree | cc02784cc5fee9935a4d5cb0608637a40883307b /scripts | |
parent | 36f22c3f2e0b9f2af10df592ec10bbb9429472b4 (diff) | |
download | history-0f4b6dfa98586bf0b3e11513319595ce82dc371c.tar.gz |
[PATCH] checkstack: add x86_64 arch. support
Add support for x86_64 arch. to 'make checkstack' (checkstack.pl).
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Acked-by: Jrn Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/checkstack.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index 7d33f0a42a37f4..dd2db95d466db1 100644 --- a/scripts/checkstack.pl +++ b/scripts/checkstack.pl @@ -39,6 +39,9 @@ my (@stack, $re, $x, $xs); } elsif ($arch =~ /^i[3456]86$/) { #c0105234: 81 ec ac 05 00 00 sub $0x5ac,%esp $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%esp$/o; + } elsif ($arch eq 'x86_64') { + # 2f60: 48 81 ec e8 05 00 00 sub $0x5e8,%rsp + $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%rsp$/o; } elsif ($arch eq 'ia64') { #e0000000044011fc: 01 0f fc 8c adds r12=-384,r12 $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o; |