summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfranco <[email protected]>2026-06-16 11:26:26 -0300
committerGitHub <[email protected]>2026-06-16 10:26:26 -0400
commit859c098747ce58dc9b88b662aac67a704af4614a (patch)
tree70158bb183af8441ae30e76adda4f07ca86146c6
parentb91b03b9e75fa523b17127f9e0eca09dca916459 (diff)
Fix nested comment warning in RX GCC ports (#550)
The RX GCC assembly port contains an unclosed C-style comment in tx_thread_context_save.S. Because .S files are passed through the C preprocessor before assembly, the nested comment can trigger GCC warnings. Close the affected comment block without changing assembly instructions or runtime behavior. Signed-off-by: FranCDoc <[email protected]>
-rw-r--r--ports/rxv1/gnu/src/tx_thread_context_save.S2
-rw-r--r--ports/rxv2/gnu/src/tx_thread_context_save.S2
-rw-r--r--ports/rxv3/gnu/src/tx_thread_context_save.S2
3 files changed, 3 insertions, 3 deletions
diff --git a/ports/rxv1/gnu/src/tx_thread_context_save.S b/ports/rxv1/gnu/src/tx_thread_context_save.S
index 228c4991..97ac6af9 100644
--- a/ports/rxv1/gnu/src/tx_thread_context_save.S
+++ b/ports/rxv1/gnu/src/tx_thread_context_save.S
@@ -69,7 +69,7 @@ __tx_thread_context_save:
; SP+4 -> Saved R1
; SP+8 -> Saved R2
; SP+12-> Interrupted PC
-; SP+16-> Interrupted PSW
+; SP+16-> Interrupted PSW */
;
; /* Check for a nested interrupt condition. */
; if (_tx_thread_system_state++)
diff --git a/ports/rxv2/gnu/src/tx_thread_context_save.S b/ports/rxv2/gnu/src/tx_thread_context_save.S
index f08f2450..89fe833e 100644
--- a/ports/rxv2/gnu/src/tx_thread_context_save.S
+++ b/ports/rxv2/gnu/src/tx_thread_context_save.S
@@ -79,7 +79,7 @@ __tx_thread_context_save:
; SP+4 -> Saved R1
; SP+8 -> Saved R2
; SP+12-> Interrupted PC
-; SP+16-> Interrupted PSW
+; SP+16-> Interrupted PSW */
;
; /* Check for a nested interrupt condition. */
; if (_tx_thread_system_state++)
diff --git a/ports/rxv3/gnu/src/tx_thread_context_save.S b/ports/rxv3/gnu/src/tx_thread_context_save.S
index 3fbfc3a1..e4437318 100644
--- a/ports/rxv3/gnu/src/tx_thread_context_save.S
+++ b/ports/rxv3/gnu/src/tx_thread_context_save.S
@@ -79,7 +79,7 @@ __tx_thread_context_save:
; SP+4 -> Saved R1
; SP+8 -> Saved R2
; SP+12-> Interrupted PC
-; SP+16-> Interrupted PSW
+; SP+16-> Interrupted PSW */
;
; /* Check for a nested interrupt condition. */
; if (_tx_thread_system_state++)