From: Tilmann Scheller Date: Fri, 18 Dec 2009 13:00:34 +0000 (+0000) Subject: Fix wrong frame pointer save offset in the 64-bit PowerPC SVR4 ABI. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cfcb7997ad4a829de4abd55903863db3c9d414ef;p=oota-llvm.git Fix wrong frame pointer save offset in the 64-bit PowerPC SVR4 ABI. Patch contributed by Ken Werner of IBM! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91681 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCFrameInfo.h b/lib/Target/PowerPC/PPCFrameInfo.h index 73d30bf5bed..7587b035981 100644 --- a/lib/Target/PowerPC/PPCFrameInfo.h +++ b/lib/Target/PowerPC/PPCFrameInfo.h @@ -50,7 +50,7 @@ public: return isPPC64 ? -8U : -4U; // SVR4 ABI: First slot in the general register save area. - return -4U; + return isPPC64 ? -8U : -4U; } /// getLinkageSize - Return the size of the PowerPC ABI linkage area.