1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-05-20 11:55:17 +02:00

ppc32: fixup cross build failure

This commit is contained in:
Tommi Rantala 2012-09-21 22:52:28 -07:00 committed by Arun Sharma
parent e4b24be9c2
commit e891591bcb
2 changed files with 3 additions and 2 deletions

View file

@ -26,6 +26,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#ifndef ucontext_i_h
#define ucontext_i_h
#include "libunwind_i.h"
#include <ucontext.h>
/* These values were derived by reading

View file

@ -419,8 +419,8 @@ int _UPT_reg_offset[UNW_REG_LAST + 1] =
UNW_FP_OFF(b, 31)
#define UNW_PPC32_REGS \
[UNW_PPC##b##_FPSCR] = UNW_PPC_PT(FPSCR), \
[UNW_PPC##b##_CCR] = UNW_PPC_PT(CCR)
[UNW_PPC32_FPSCR] = UNW_PPC_PT(FPSCR), \
[UNW_PPC32_CCR] = UNW_PPC_PT(CCR)
#define UNW_VR_OFF(i) \
[UNW_PPC64_V##i] = UNW_PPC_R(PT_VR0 + i * 2)