[PATCH] sparc: clang AS does no accept UNIMP without argument

Daniel Hellstrom daniel at gaisler.com
Wed Sep 19 14:13:32 UTC 2018


---
 cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h
index c125b8a..7c31501 100644
--- a/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h
+++ b/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h
@@ -152,7 +152,7 @@ void _CPU_Context_validate( uintptr_t pattern );
 
 RTEMS_INLINE_ROUTINE void _CPU_Instruction_illegal( void )
 {
-  __asm__ volatile ( "unimp" );
+  __asm__ volatile ( "unimp 0" );
 }
 
 RTEMS_INLINE_ROUTINE void _CPU_Instruction_no_operation( void )
-- 
2.7.4



More information about the devel mailing list