From 5654f40e4087e1291f5651d98116144baf77350e Mon Sep 17 00:00:00 2001 From: FranCDoc Date: Mon, 8 Jun 2026 03:48:27 -0300 Subject: [PATCH] Fix nested comment warning in RX GCC ports 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 --- ports/rxv1/gnu/src/tx_thread_context_save.S | 2 +- ports/rxv2/gnu/src/tx_thread_context_save.S | 2 +- ports/rxv3/gnu/src/tx_thread_context_save.S | 2 +- 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 228c4991a..97ac6af9a 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 f08f24504..89fe833e5 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 3fbfc3a18..e44373183 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++)