aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-03-09 19:50:40 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2010-03-09 19:50:40 +0100
commitbded9b70876ea62f78d51f623e511f33fb2d9ff5 (patch)
tree33318836aed935ea12f68695e25093d489c899d6 /gcc
parent4398467a10ce7c25357bf3dce287b2dd4c59302d (diff)
downloadgcc-bded9b70876ea62f78d51f623e511f33fb2d9ff5.zip
gcc-bded9b70876ea62f78d51f623e511f33fb2d9ff5.tar.gz
gcc-bded9b70876ea62f78d51f623e511f33fb2d9ff5.tar.bz2
re PR debug/43293 (Invalid unwind info for i?86 -fpic)
PR debug/43293 * config/i386/t-i386 (i386.o): Depend on debug.h and dwarf2out.h. * config/i386/i386.c: Include debug.h and dwarf2out.h. (ix86_file_end): If dwarf2out_do_cfi_asm (), emit .cfi_startproc and .cfi_endproc around the pic thunks. (output_set_got): For TARGET_DEEP_BRANCH_PREDICTION pic, ensure all queued unwind info register saves are saved before the call. For !TARGET_DEEP_BRANCH_PREDICTION pic, ensure the call is considered as sp-=4 for unwind info and the pop as sp+=4 which also clobbers dest, but doesn't actually restore it. From-SVN: r157314
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog13
-rw-r--r--gcc/config/i386/t-i3862
2 files changed, 13 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 20a1e87..e348458 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,15 @@
-2010-03-09 Jakub Jelinek <jakub@redhat.com>
+2010-03-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/43293
+ * config/i386/t-i386 (i386.o): Depend on debug.h and dwarf2out.h.
+ * config/i386/i386.c: Include debug.h and dwarf2out.h.
+ (ix86_file_end): If dwarf2out_do_cfi_asm (), emit .cfi_startproc
+ and .cfi_endproc around the pic thunks.
+ (output_set_got): For TARGET_DEEP_BRANCH_PREDICTION pic, ensure
+ all queued unwind info register saves are saved before the call.
+ For !TARGET_DEEP_BRANCH_PREDICTION pic, ensure the call is
+ considered as sp-=4 for unwind info and the pop as sp+=4 which
+ also clobbers dest, but doesn't actually restore it.
PR debug/43290
* config/i386/i386.c (ix86_get_drap_rtx): Don't set
diff --git a/gcc/config/i386/t-i386 b/gcc/config/i386/t-i386
index 87a25fb..55ddd1e 100644
--- a/gcc/config/i386/t-i386
+++ b/gcc/config/i386/t-i386
@@ -1,4 +1,4 @@
-# Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
#
# This file is part of GCC.
#