aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>2018-03-22 12:22:31 +0100
committerIgor Tsimbalist <itsimbal@gcc.gnu.org>2018-03-22 12:22:31 +0100
commitf262038551353b15dcc0720c5858249f01c8fba7 (patch)
treed831b96879250d6f64ced533c8660eb14e73937d
parent71b7c365f973b2a9c556f47290328805e886be31 (diff)
downloadgcc-f262038551353b15dcc0720c5858249f01c8fba7.zip
gcc-f262038551353b15dcc0720c5858249f01c8fba7.tar.gz
gcc-f262038551353b15dcc0720c5858249f01c8fba7.tar.bz2
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
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config/i386/shadow-stack-unwind.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index a3da8dc..5df3c2b 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -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
diff --git a/libgcc/config/i386/shadow-stack-unwind.h b/libgcc/config/i386/shadow-stack-unwind.h
index b7c3d98..40f48df 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); \