From: Igor Tsimbalist Date: Thu, 22 Mar 2018 11:22:31 +0000 (+0100) Subject: Fix PR85025: libgcc/config/i386/shadow-stack-unwind.h is wrong. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f262038551353b15dcc0720c5858249f01c8fba7;p=gcc.git Fix PR85025: libgcc/config/i386/shadow-stack-unwind.h is wrong. PR target/85025 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra): Fix a typo, tmp => 255. From-SVN: r258763 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index a3da8dca793..5df3c2bd69e 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2018-03-22 Igor Tsimbalist + + PR target/85025 + * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra): + Fix a typo, tmp => 255. + 2018-03-20 Jakub Jelinek PR target/84945 diff --git a/libgcc/config/i386/shadow-stack-unwind.h b/libgcc/config/i386/shadow-stack-unwind.h index b7c3d98a9dc..40f48df2aec 100644 --- a/libgcc/config/i386/shadow-stack-unwind.h +++ b/libgcc/config/i386/shadow-stack-unwind.h @@ -42,7 +42,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see _Unwind_Word tmp = (x); \ while (tmp > 255) \ { \ - _inc_ssp (tmp); \ + _inc_ssp (255); \ tmp -= 255; \ } \ _inc_ssp (tmp); \