OSDN Git Service

Enabled linkonce support for Darwin.
[pf3gnuchains/gcc-fork.git] / libffi / src / powerpc / darwin_closure.S
index d8612a8..13ee81d 100644 (file)
@@ -234,8 +234,8 @@ Lfinish:
 /* END(ffi_closure_ASM)  */
 
 .data
-.section __TEXT,__eh_frame
-Lframe1:
+.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms
+EH_frame1:
        .set    L$set$0,LECIE1-LSCIE1
        .long   L$set$0 ; Length of Common Information Entry
 LSCIE1:
@@ -246,19 +246,20 @@ LSCIE1:
        .byte   0x7c    ; sleb128 -4; CIE Data Alignment Factor
        .byte   0x41    ; CIE RA Column
        .byte   0x1     ; uleb128 0x1; Augmentation size
-       .byte   0x10    ; FDE Encoding (pcrel)
+       .byte   0x90    ; FDE Encoding (indirect pcrel)
        .byte   0xc     ; DW_CFA_def_cfa
        .byte   0x1     ; uleb128 0x1
        .byte   0x0     ; uleb128 0x0
        .align  2
 LECIE1:
+.globl _ffi_closure_ASM.eh
+_ffi_closure_ASM.eh:
 LSFDE1:
        .set    L$set$1,LEFDE1-LASFDE1
        .long   L$set$1 ; FDE Length
 
 LASFDE1:
-       .set    L$set$2,LASFDE1-Lframe1
-       .long   L$set$2 ; FDE CIE offset
+       .long   LASFDE1-EH_frame1       ; FDE CIE offset
        .long   LFB1-.  ; FDE initial location
        .set    L$set$3,LFE1-LFB1
        .long   L$set$3 ; FDE address range