Re: [RFC][PATCH] Makefile: Fix checkstack.pl arm64 wrong or unknown architecture

Masahiro Yamada
2019-06-01T02:10:19Z

On Sat, Jun 1, 2019 at 2:45 AM George G. Davis <george_davis@mentor.com> wrote:
> > Following this pattern, does this work for you?
> >
> > diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl
> > index 122aef5e4e14..371bd17a4983 100755
> > --- a/scripts/checkstack.pl
> > +++ b/scripts/checkstack.pl
> > @@ -46,7 +46,7 @@ my (@stack, $re, $dre, $x, $xs, $funcre);
> > $x = "[0-9a-f]"; # hex character
> > $xs = "[0-9a-f ]"; # hex character or space
> > $funcre = qr/^$x* <(.*)>:$/;
> > - if ($arch eq 'aarch64') {
> > + if ($arch =~ '^(aarch|arm)64$') {
>
> Yes, that works, thanks!
>
> Will you submit a fix or would you like me to resubmit with the above suggested
> fix?

Please send v2.

Thanks.

--
Best Regards
Masahiro Yamada