This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA patch i386]: Prepare x64 prologue using positive offsets for frame-pointer


Hello,

this patch prepares for x64 SEH, that frame-pointer points at end of
stack-prologue. This is required for x64, because the SEH unwind
information can't express negative offsets for stack.

ChangeLog

2010-07-04  Kai Tietz

        * config/i386/i386.c (ix86_compute_frame_layout): Let frame's
        hard_frame_pointer_offset point to end of prologue.
        (ix86_expand_prologue): Handle x64 frame-pointer prologue.
        (ix86_expand_epilogue): Handle x64 frame-pointer epilogue.

Tested for i686-pc-cygwin, x86_64-pc-mingw32. Ok for apply?

Regards,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

Attachment: x64_pro.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]