]> gcc.gnu.org Git - gcc.git/commit
re PR debug/43293 (Invalid unwind info for i?86 -fpic)
authorJakub Jelinek <jakub@gcc.gnu.org>
Tue, 9 Mar 2010 20:11:53 +0000 (21:11 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 9 Mar 2010 20:11:53 +0000 (21:11 +0100)
commit8325c9b804e4165308944bf947100625603a9486
treeab7572bf283d52e87e2f0464a7c644b796abb31b
parenteb1fcdaa11c571780374065c383708826624f22d
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: r157325
gcc/config/i386/i386.c
gcc/config/i386/t-i386
This page took 0.054811 seconds and 5 git commands to generate.