]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
tc-xtensa.c: fixup xg_reverse_shift_count typo
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Mon, 26 Sep 2016 16:42:11 +0000 (12:42 -0400)
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>
Mon, 26 Sep 2016 16:55:56 +0000 (12:55 -0400)
gas/ChangeLog:

2016-09-26  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

* config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
cnt_argp to concat.

gas/ChangeLog
gas/config/tc-xtensa.c

index 3d6bf9440d6ec389ae344320ef471b81ee210d1a..d499099a7abcf1f5d2f251d4780c70a3a620b9a3 100644 (file)
@@ -1,3 +1,8 @@
+2016-09-26  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
+       cnt_argp to concat.
+
 2016-09-26  Vlad Zakharov  <vzakhar@synopsys.com>
 
        * Makefile.in: Regenerate.
index d062044d42f7992f32493622a87cb8c691429097..ca261ae19c4cc8f70060ee70db5572b81a2b40b2 100644 (file)
@@ -2228,7 +2228,7 @@ xg_reverse_shift_count (char **cnt_argp)
   cnt_arg = *cnt_argp;
 
   /* replace the argument with "31-(argument)" */
-  new_arg = concat ("31-(", cnt_argp, ")", (char *) NULL);
+  new_arg = concat ("31-(", cnt_arg, ")", (char *) NULL);
 
   free (cnt_arg);
   *cnt_argp = new_arg;