[binutils-gdb] Fix whitespace snafu in tc-riscv.c

Nick Clifton nickc@sourceware.org
Tue Dec 12 10:03:13 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=14f2724f80b156928b1a0b0f9733350558e35e63

commit 14f2724f80b156928b1a0b0f9733350558e35e63
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Dec 12 10:02:54 2023 +0000

    Fix whitespace snafu in tc-riscv.c

Diff:
---
 gas/config/tc-riscv.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
index a46a6a4ec48..b902c6ba2c1 100644
--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -4367,11 +4367,11 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
 					 target))
 	    as_warn (_("too many pcrel_hi"));
 
-	    bfd_putl32 (bfd_getl32 (buf)
-			| ENCODE_UTYPE_IMM (RISCV_CONST_HIGH_PART (value)),
-			buf);
-	    if (!riscv_opts.relax)
-	      fixP->fx_done = 1;
+	  bfd_putl32 (bfd_getl32 (buf)
+		      | ENCODE_UTYPE_IMM (RISCV_CONST_HIGH_PART (value)),
+		      buf);
+	  if (!riscv_opts.relax)
+	    fixP->fx_done = 1;
 	}
       relaxable = true;
       break;


More information about the Binutils-cvs mailing list