diff --git a/gas/ChangeLog b/gas/ChangeLog index 3d6bf9440d..d499099a7a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2016-09-26 Trevor Saunders + + * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of + cnt_argp to concat. + 2016-09-26 Vlad Zakharov * Makefile.in: Regenerate. diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index d062044d42..ca261ae19c 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;