diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-17 08:29:32 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-17 08:29:32 +1100 |
commit | 9c0755384f0e5d0133ba27e0aa5ba6f76bf3b351 (patch) | |
tree | aa50f25a51c4cc9c4f36d9319c87bc2366184981 /scripts | |
parent | 20dcca984b4128dd0176ef01f866f5e56a104b48 (diff) | |
parent | 07d7c4560b7a24f12e922003fb527b9eafd8ebc9 (diff) |
Merge remote-tracking branch 'openrisc/for-next'
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkstack.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index dd8397894d5c..eea5b782a3b7 100755 --- a/scripts/checkstack.pl +++ b/scripts/checkstack.pl @@ -106,6 +106,9 @@ my (@stack, $re, $dre, $x, $xs, $funcre); } elsif ($arch eq 'sparc' || $arch eq 'sparc64') { # f0019d10: 9d e3 bf 90 save %sp, -112, %sp $re = qr/.*save.*%sp, -(([0-9]{2}|[3-9])[0-9]{2}), %sp/o; + } elsif ($arch eq 'openrisc') { + # c000043c: 9c 21 fe f0 l.addi r1,r1,-272 + $re = qr/.*l\.addi.*r1,r1,-(([0-9]{2}|[3-9])[0-9]{2})/o; } else { print("wrong or unknown architecture \"$arch\"\n"); exit |