[92784] trunk/dports/lang/gcc43
jeremyhu at macports.org
jeremyhu at macports.org
Sun May 6 16:16:30 PDT 2012
Revision: 92784
https://trac.macports.org/changeset/92784
Author: jeremyhu at macports.org
Date: 2012-05-06 16:16:29 -0700 (Sun, 06 May 2012)
Log Message:
-----------
gcc43: Fix libffi for ppc users (#34329)
Modified Paths:
--------------
trunk/dports/lang/gcc43/Portfile
Added Paths:
-----------
trunk/dports/lang/gcc43/files/ppc_fde_encoding.diff
Modified: trunk/dports/lang/gcc43/Portfile
===================================================================
--- trunk/dports/lang/gcc43/Portfile 2012-05-06 21:57:05 UTC (rev 92783)
+++ trunk/dports/lang/gcc43/Portfile 2012-05-06 23:16:29 UTC (rev 92784)
@@ -58,7 +58,7 @@
depends_skip_archcheck-append gcc_select ld64 cctools
-patchfiles Make-lang.in.diff darwin10.diff i386_multilib.diff
+patchfiles Make-lang.in.diff darwin10.diff i386_multilib.diff ppc_fde_encoding.diff
patch.dir ${workpath}/gcc-${version}
set major 4.3
Added: trunk/dports/lang/gcc43/files/ppc_fde_encoding.diff
===================================================================
--- trunk/dports/lang/gcc43/files/ppc_fde_encoding.diff (rev 0)
+++ trunk/dports/lang/gcc43/files/ppc_fde_encoding.diff 2012-05-06 23:16:29 UTC (rev 92784)
@@ -0,0 +1,44 @@
+diff --git src/powerpc/darwin.S src/powerpc/darwin.S
+--- libffi/src/powerpc/darwin.S
++++ libffi/src/powerpc/darwin.S
+@@ -191,17 +191,17 @@ EH_frame1:
+ LSCIE1:
+ .long 0x0 ; CIE Identifier Tag
+ .byte 0x1 ; CIE Version
+ .ascii "zR\0" ; CIE Augmentation
+ .byte 0x1 ; uleb128 0x1; CIE Code Alignment Factor
+ .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 (pcrel)
+ .byte 0xc ; DW_CFA_def_cfa
+ .byte 0x1 ; uleb128 0x1
+ .byte 0x0 ; uleb128 0x0
+ .align LOG2_GPR_BYTES
+ LECIE1:
+ .globl _ffi_call_DARWIN.eh
+ _ffi_call_DARWIN.eh:
+ LSFDE1:
+diff --git src/powerpc/darwin_closure.S src/powerpc/darwin_closure.S
+--- libffi/src/powerpc/darwin_closure.S
++++ libffi/src/powerpc/darwin_closure.S
+@@ -253,17 +253,17 @@ EH_frame1:
+ LSCIE1:
+ .long 0x0 ; CIE Identifier Tag
+ .byte 0x1 ; CIE Version
+ .ascii "zR\0" ; CIE Augmentation
+ .byte 0x1 ; uleb128 0x1; CIE Code Alignment Factor
+ .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 (pcrel)
+ .byte 0xc ; DW_CFA_def_cfa
+ .byte 0x1 ; uleb128 0x1
+ .byte 0x0 ; uleb128 0x0
+ .align LOG2_GPR_BYTES
+ LECIE1:
+ .globl _ffi_closure_ASM.eh
+ _ffi_closure_ASM.eh:
+ LSFDE1:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120506/1b23d6a0/attachment.html>
More information about the macports-changes
mailing list