[RFC PATCH 2/5] gas: Copyediting on tc-riscv.c
Tsukasa OI
research_trasio@irq.a4lg.com
Thu Aug 11 07:00:50 GMT 2022
Before applying "RISC-V: Mapping symbols with ISA string on assembler", this
commit takes care of some non-functional issues.
gas/ChangeLog:
* config/tc-riscv.c (make_mapping_symbol): Make indentation
consistent. (riscv_mapping_state): Add "period" to a comment.
---
gas/config/tc-riscv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
index 92eabf0cbc7..a09403fbd11 100644
--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -473,7 +473,7 @@ make_mapping_symbol (enum riscv_seg_mstate state,
following code will have the same value. */
if (value == 0)
{
- if (frag->tc_frag_data.first_map_symbol != NULL)
+ if (frag->tc_frag_data.first_map_symbol != NULL)
{
know (S_GET_VALUE (frag->tc_frag_data.first_map_symbol)
== S_GET_VALUE (symbol));
@@ -515,7 +515,7 @@ riscv_mapping_state (enum riscv_seg_mstate to_state,
return;
/* The mapping symbol should be emitted if not in the right
- mapping state */
+ mapping state. */
if (from_state == to_state)
return;
--
2.34.1
More information about the Binutils
mailing list