[PATCH] sparc: Return to previous section type when done with .data._SPARC_Counter

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


From: Daniel Cederman <cederman at gaisler.com>

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

diff --git a/cpukit/score/cpu/sparc/include/rtems/score/sparcimpl.h b/cpukit/score/cpu/sparc/include/rtems/score/sparcimpl.h
index 9f9999b..81b4441 100644
--- a/cpukit/score/cpu/sparc/include/rtems/score/sparcimpl.h
+++ b/cpukit/score/cpu/sparc/include/rtems/score/sparcimpl.h
@@ -81,6 +81,7 @@ static inline void _SPARC_Counter_initialize(
     "\t.long\t_SPARC_Counter_read_address\n" \
     "\t.long\t_SPARC_Counter_difference_one\n" \
     "\t.long\t_SPARC_Counter\n" \
+    "\t.previous\n" \
   )
 
 #ifdef __cplusplus
-- 
2.7.4




More information about the devel mailing list