[PATCH 2/2] covoar/Target_sparc.cc: Add unimpl as nop

Chris Johns chrisj at rtems.org
Thu May 24 03:00:57 UTC 2018


On 24/5/18 12:07 pm, Joel Sherrill wrote:
> ---
>  tester/covoar/Target_sparc.cc | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tester/covoar/Target_sparc.cc b/tester/covoar/Target_sparc.cc
> index 0e4ab2e..deeafef 100644
> --- a/tester/covoar/Target_sparc.cc
> +++ b/tester/covoar/Target_sparc.cc
> @@ -64,6 +64,10 @@ namespace Target {
>        size = 4;
>        return true;
>      }
> +    if (!strcmp( &line[strlen(line)-6], "unimpl")) {

I have not looked at the code around this for C++.

Also these calls should be "::strcmp()".

Chris

> +      size = 4;
> +      return true;
> +    }
>  
>      if (!strcmp( &line[strlen(line)-7], "unknown")) {
>        size = 4; 
> 



More information about the devel mailing list