Fix PR85025: libgcc/config/i386/shadow-stack-unwind.h is wrong.
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Thu, 22 Mar 2018 11:22:31 +0000 (12:22 +0100)
committerIgor Tsimbalist <itsimbal@gcc.gnu.org>
Thu, 22 Mar 2018 11:22:31 +0000 (12:22 +0100)
PR target/85025
* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
Fix a typo, tmp => 255.

From-SVN: r258763

libgcc/ChangeLog
libgcc/config/i386/shadow-stack-unwind.h

index a3da8dca79343ce5d4c230ec9f76f5edc312b23d..5df3c2bd69e13696a5c3cbe1406cfecf2b24318c 100644 (file)
@@ -1,3 +1,9 @@
+2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
+
+       PR target/85025
+       * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
+       Fix a typo, tmp => 255.
+
 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/84945
index b7c3d98a9dc426611971d678ddeb164b6b1ce1af..40f48df2aecdc1c1836cf55853ef13cbde219f32 100644 (file)
@@ -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);                       \