diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-09-26 12:42:11 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-09-26 12:55:56 -0400 |
commit | 78fb7e37eb8bb08ae537d6c487996ff17c810332 (patch) | |
tree | d28cf57c27c06eb8a6c0833ce0f205c8ecc82dae | |
parent | c5da193232ea0452f714dffee0d417d965590476 (diff) | |
download | binutils-78fb7e37eb8bb08ae537d6c487996ff17c810332.zip binutils-78fb7e37eb8bb08ae537d6c487996ff17c810332.tar.gz binutils-78fb7e37eb8bb08ae537d6c487996ff17c810332.tar.bz2 |
tc-xtensa.c: fixup xg_reverse_shift_count typo
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.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-xtensa.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 3d6bf94..d499099 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index d062044..ca261ae 100644 --- a/gas/config/tc-xtensa.c +++ b/gas/config/tc-xtensa.c @@ -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; |