diff options
author | Alexey Neyman <stilor@att.net> | 2017-07-13 00:38:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-13 00:38:03 -0700 |
commit | 45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch) | |
tree | 8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /packages/binutils/2.27/999-xtensa-reverse-shift-count.patch | |
parent | 8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff) | |
parent | b32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff) | |
download | crosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.tar.gz crosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.tar.bz2 crosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.zip |
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'packages/binutils/2.27/999-xtensa-reverse-shift-count.patch')
-rw-r--r-- | packages/binutils/2.27/999-xtensa-reverse-shift-count.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/binutils/2.27/999-xtensa-reverse-shift-count.patch b/packages/binutils/2.27/999-xtensa-reverse-shift-count.patch new file mode 100644 index 00000000..f8bb9c19 --- /dev/null +++ b/packages/binutils/2.27/999-xtensa-reverse-shift-count.patch @@ -0,0 +1,33 @@ +From 78fb7e37eb8bb08ae537d6c487996ff17c810332 Mon Sep 17 00:00:00 2001 +From: Trevor Saunders <tbsaunde+binutils@tbsaunde.org> +Date: Mon, 26 Sep 2016 12:42:11 -0400 +Subject: [PATCH] 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. +--- + gas/ChangeLog | 5 +++++ + gas/config/tc-xtensa.c | 2 +- + 2 files changed, 6 insertions(+), 1 deletion(-) + +[[ ChangeLog skipped, fails to apply on 2.27 ]] +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; +-- +2.9.3 + |