From 49d8274662bfd13c49dad0e7bc05829228c9d774 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 19 Jun 2011 11:10:42 -0600 Subject: [PATCH] darwin ppc patch from libffi --- src/foreign/README | 2 ++ src/foreign/libffi/src/powerpc/darwin.S | 2 +- src/foreign/libffi/src/powerpc/darwin_closure.S | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/foreign/README b/src/foreign/README index 6e1a9b6afb..53a4f60cba 100644 --- a/src/foreign/README +++ b/src/foreign/README @@ -17,6 +17,8 @@ Local changes: * Test ftruncate() result in "closures.c" to avoid a compiler warning. + * Added powerpc .S patches from 2d3fb36420e09304220e + ========== libffi_msvc directory ===================================== This directory is synced from the CTypes repository diff --git a/src/foreign/libffi/src/powerpc/darwin.S b/src/foreign/libffi/src/powerpc/darwin.S index d8a1df5fe9..2ec33ddb0c 100644 --- a/src/foreign/libffi/src/powerpc/darwin.S +++ b/src/foreign/libffi/src/powerpc/darwin.S @@ -196,7 +196,7 @@ LSCIE1: .byte 0x7c ; sleb128 -4; CIE Data Alignment Factor .byte 0x41 ; CIE RA Column .byte 0x1 ; uleb128 0x1; Augmentation size - .byte 0x90 ; FDE Encoding (indirect pcrel) + .byte 0x10 ; FDE Encoding (indirect pcrel) .byte 0xc ; DW_CFA_def_cfa .byte 0x1 ; uleb128 0x1 .byte 0x0 ; uleb128 0x0 diff --git a/src/foreign/libffi/src/powerpc/darwin_closure.S b/src/foreign/libffi/src/powerpc/darwin_closure.S index 7959838e95..b9f361490c 100644 --- a/src/foreign/libffi/src/powerpc/darwin_closure.S +++ b/src/foreign/libffi/src/powerpc/darwin_closure.S @@ -258,7 +258,7 @@ LSCIE1: .byte 0x7c ; sleb128 -4; CIE Data Alignment Factor .byte 0x41 ; CIE RA Column .byte 0x1 ; uleb128 0x1; Augmentation size - .byte 0x90 ; FDE Encoding (indirect pcrel) + .byte 0x10 ; FDE Encoding (indirect pcrel) .byte 0xc ; DW_CFA_def_cfa .byte 0x1 ; uleb128 0x1 .byte 0x0 ; uleb128 0x0