[binutils-gdb] Fix compile time warning

Nick Clifton nickc@sourceware.org
Tue Nov 3 08:56:43 GMT 2020


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

commit 70237b84c5c994a7f588815fe56853e81293cad5
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Nov 3 08:56:27 2020 +0000

    Fix compile time warning

Diff:
---
 ld/ChangeLog                  | 5 +++++
 ld/emulparams/x86-64-level.sh | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index f980e623944..c9010e05867 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2020-11-03  Nick Clifton  <nickc@redhat.com>
+
+	* emulparams/x86-64-level.sh
+	(PARSE_AND_LIST_ARGS_CASE_Z_X86_64_LEVEL): Fix indentation.
+
 2020-11-02  Alan Modra  <amodra@gmail.com>
 
 	PR 26806
diff --git a/ld/emulparams/x86-64-level.sh b/ld/emulparams/x86-64-level.sh
index c74b236900a..c46aacf3aff 100644
--- a/ld/emulparams/x86-64-level.sh
+++ b/ld/emulparams/x86-64-level.sh
@@ -11,7 +11,7 @@ PARSE_AND_LIST_ARGS_CASE_Z_X86_64_LEVEL='
 	  unsigned int level = strtoul (optarg + 8 , &end, 10);
 	  if (*end != '\0' || level < 2 || level > 4)
 	    einfo (_("%F%P: invalid x86-64 ISA level: %s\n"), optarg);
-	    params.isa_level = level;
+	  params.isa_level = level;
 	}
 '


More information about the Binutils-cvs mailing list