1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Fix wrong frame pointer save offset in the 64-bit PowerPC SVR4 ABI.

Patch contributed by Ken Werner of IBM!

llvm-svn: 91681
This commit is contained in:
Tilmann Scheller 2009-12-18 13:00:34 +00:00
parent 29361c46ac
commit 69e00966bb

View File

@ -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.