OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [libffi/] [src/] [x86/] [sysv.S] - Diff between revs 732 and 783

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 732 Rev 783
/* -----------------------------------------------------------------------
/* -----------------------------------------------------------------------
   sysv.S - Copyright (c) 1996, 1998, 2001-2003, 2005, 2008, 2010  Red Hat, Inc.
   sysv.S - Copyright (c) 1996, 1998, 2001-2003, 2005, 2008, 2010  Red Hat, Inc.
   X86 Foreign Function Interface
   X86 Foreign Function Interface
   Permission is hereby granted, free of charge, to any person obtaining
   Permission is hereby granted, free of charge, to any person obtaining
   a copy of this software and associated documentation files (the
   a copy of this software and associated documentation files (the
   ``Software''), to deal in the Software without restriction, including
   ``Software''), to deal in the Software without restriction, including
   without limitation the rights to use, copy, modify, merge, publish,
   without limitation the rights to use, copy, modify, merge, publish,
   distribute, sublicense, and/or sell copies of the Software, and to
   distribute, sublicense, and/or sell copies of the Software, and to
   permit persons to whom the Software is furnished to do so, subject to
   permit persons to whom the Software is furnished to do so, subject to
   the following conditions:
   the following conditions:
   The above copyright notice and this permission notice shall be included
   The above copyright notice and this permission notice shall be included
   in all copies or substantial portions of the Software.
   in all copies or substantial portions of the Software.
   THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
   THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
   NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
   NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
   HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
   HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
   WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
   DEALINGS IN THE SOFTWARE.
   DEALINGS IN THE SOFTWARE.
   ----------------------------------------------------------------------- */
   ----------------------------------------------------------------------- */
#ifndef __x86_64__
#ifndef __x86_64__
#define LIBFFI_ASM
#define LIBFFI_ASM
#include 
#include 
#include 
#include 
.text
.text
.globl ffi_prep_args
.globl ffi_prep_args
        .align 4
        .align 4
.globl ffi_call_SYSV
.globl ffi_call_SYSV
        .type    ffi_call_SYSV,@function
        .type    ffi_call_SYSV,@function
ffi_call_SYSV:
ffi_call_SYSV:
.LFB1:
.LFB1:
        pushl %ebp
        pushl %ebp
.LCFI0:
.LCFI0:
        movl  %esp,%ebp
        movl  %esp,%ebp
.LCFI1:
.LCFI1:
        /* Make room for all of the new args.  */
        /* Make room for all of the new args.  */
        movl  16(%ebp),%ecx
        movl  16(%ebp),%ecx
        subl  %ecx,%esp
        subl  %ecx,%esp
        /* Align the stack pointer to 16-bytes */
        /* Align the stack pointer to 16-bytes */
        andl  $0xfffffff0, %esp
        andl  $0xfffffff0, %esp
        movl  %esp,%eax
        movl  %esp,%eax
        /* Place all of the ffi_prep_args in position  */
        /* Place all of the ffi_prep_args in position  */
        pushl 12(%ebp)
        pushl 12(%ebp)
        pushl %eax
        pushl %eax
        call  *8(%ebp)
        call  *8(%ebp)
        /* Return stack to previous state and call the function  */
        /* Return stack to previous state and call the function  */
        addl  $8,%esp
        addl  $8,%esp
        call  *28(%ebp)
        call  *28(%ebp)
        /* Load %ecx with the return type code  */
        /* Load %ecx with the return type code  */
        movl  20(%ebp),%ecx
        movl  20(%ebp),%ecx
        /* Protect %esi.  We're going to pop it in the epilogue.  */
        /* Protect %esi.  We're going to pop it in the epilogue.  */
        pushl %esi
        pushl %esi
        /* If the return value pointer is NULL, assume no return value.  */
        /* If the return value pointer is NULL, assume no return value.  */
        cmpl  $0,24(%ebp)
        cmpl  $0,24(%ebp)
        jne  0f
        jne  0f
        /* Even if there is no space for the return value, we are
        /* Even if there is no space for the return value, we are
           obliged to handle floating-point values.  */
           obliged to handle floating-point values.  */
        cmpl  $FFI_TYPE_FLOAT,%ecx
        cmpl  $FFI_TYPE_FLOAT,%ecx
        jne   noretval
        jne   noretval
        fstp  %st(0)
        fstp  %st(0)
        jmp   epilogue
        jmp   epilogue
0:
0:
        call  1f
        call  1f
.Lstore_table:
.Lstore_table:
        .long   noretval-.Lstore_table  /* FFI_TYPE_VOID */
        .long   noretval-.Lstore_table  /* FFI_TYPE_VOID */
        .long   retint-.Lstore_table    /* FFI_TYPE_INT */
        .long   retint-.Lstore_table    /* FFI_TYPE_INT */
        .long   retfloat-.Lstore_table  /* FFI_TYPE_FLOAT */
        .long   retfloat-.Lstore_table  /* FFI_TYPE_FLOAT */
        .long   retdouble-.Lstore_table /* FFI_TYPE_DOUBLE */
        .long   retdouble-.Lstore_table /* FFI_TYPE_DOUBLE */
        .long   retlongdouble-.Lstore_table     /* FFI_TYPE_LONGDOUBLE */
        .long   retlongdouble-.Lstore_table     /* FFI_TYPE_LONGDOUBLE */
        .long   retuint8-.Lstore_table  /* FFI_TYPE_UINT8 */
        .long   retuint8-.Lstore_table  /* FFI_TYPE_UINT8 */
        .long   retsint8-.Lstore_table  /* FFI_TYPE_SINT8 */
        .long   retsint8-.Lstore_table  /* FFI_TYPE_SINT8 */
        .long   retuint16-.Lstore_table /* FFI_TYPE_UINT16 */
        .long   retuint16-.Lstore_table /* FFI_TYPE_UINT16 */
        .long   retsint16-.Lstore_table /* FFI_TYPE_SINT16 */
        .long   retsint16-.Lstore_table /* FFI_TYPE_SINT16 */
        .long   retint-.Lstore_table    /* FFI_TYPE_UINT32 */
        .long   retint-.Lstore_table    /* FFI_TYPE_UINT32 */
        .long   retint-.Lstore_table    /* FFI_TYPE_SINT32 */
        .long   retint-.Lstore_table    /* FFI_TYPE_SINT32 */
        .long   retint64-.Lstore_table  /* FFI_TYPE_UINT64 */
        .long   retint64-.Lstore_table  /* FFI_TYPE_UINT64 */
        .long   retint64-.Lstore_table  /* FFI_TYPE_SINT64 */
        .long   retint64-.Lstore_table  /* FFI_TYPE_SINT64 */
        .long   retstruct-.Lstore_table /* FFI_TYPE_STRUCT */
        .long   retstruct-.Lstore_table /* FFI_TYPE_STRUCT */
        .long   retint-.Lstore_table    /* FFI_TYPE_POINTER */
        .long   retint-.Lstore_table    /* FFI_TYPE_POINTER */
1:
1:
        pop  %esi
        pop  %esi
        add  (%esi, %ecx, 4), %esi
        add  (%esi, %ecx, 4), %esi
        jmp  *%esi
        jmp  *%esi
        /* Sign/zero extend as appropriate.  */
        /* Sign/zero extend as appropriate.  */
retsint8:
retsint8:
        movsbl  %al, %eax
        movsbl  %al, %eax
        jmp  retint
        jmp  retint
retsint16:
retsint16:
        movswl  %ax, %eax
        movswl  %ax, %eax
        jmp  retint
        jmp  retint
retuint8:
retuint8:
        movzbl  %al, %eax
        movzbl  %al, %eax
        jmp  retint
        jmp  retint
retuint16:
retuint16:
        movzwl  %ax, %eax
        movzwl  %ax, %eax
        jmp  retint
        jmp  retint
retfloat:
retfloat:
        /* Load %ecx with the pointer to storage for the return value  */
        /* Load %ecx with the pointer to storage for the return value  */
        movl  24(%ebp),%ecx
        movl  24(%ebp),%ecx
        fstps (%ecx)
        fstps (%ecx)
        jmp   epilogue
        jmp   epilogue
retdouble:
retdouble:
        /* Load %ecx with the pointer to storage for the return value  */
        /* Load %ecx with the pointer to storage for the return value  */
        movl  24(%ebp),%ecx
        movl  24(%ebp),%ecx
        fstpl (%ecx)
        fstpl (%ecx)
        jmp   epilogue
        jmp   epilogue
retlongdouble:
retlongdouble:
        /* Load %ecx with the pointer to storage for the return value  */
        /* Load %ecx with the pointer to storage for the return value  */
        movl  24(%ebp),%ecx
        movl  24(%ebp),%ecx
        fstpt (%ecx)
        fstpt (%ecx)
        jmp   epilogue
        jmp   epilogue
retint64:
retint64:
        /* Load %ecx with the pointer to storage for the return value  */
        /* Load %ecx with the pointer to storage for the return value  */
        movl  24(%ebp),%ecx
        movl  24(%ebp),%ecx
        movl  %eax,0(%ecx)
        movl  %eax,0(%ecx)
        movl  %edx,4(%ecx)
        movl  %edx,4(%ecx)
        jmp   epilogue
        jmp   epilogue
retint:
retint:
        /* Load %ecx with the pointer to storage for the return value  */
        /* Load %ecx with the pointer to storage for the return value  */
        movl  24(%ebp),%ecx
        movl  24(%ebp),%ecx
        movl  %eax,0(%ecx)
        movl  %eax,0(%ecx)
retstruct:
retstruct:
        /* Nothing to do!  */
        /* Nothing to do!  */
noretval:
noretval:
epilogue:
epilogue:
        popl %esi
        popl %esi
        movl %ebp,%esp
        movl %ebp,%esp
        popl %ebp
        popl %ebp
        ret
        ret
.LFE1:
.LFE1:
.ffi_call_SYSV_end:
.ffi_call_SYSV_end:
        .size    ffi_call_SYSV,.ffi_call_SYSV_end-ffi_call_SYSV
        .size    ffi_call_SYSV,.ffi_call_SYSV_end-ffi_call_SYSV
        .align  4
        .align  4
FFI_HIDDEN (ffi_closure_SYSV)
FFI_HIDDEN (ffi_closure_SYSV)
.globl ffi_closure_SYSV
.globl ffi_closure_SYSV
        .type   ffi_closure_SYSV, @function
        .type   ffi_closure_SYSV, @function
ffi_closure_SYSV:
ffi_closure_SYSV:
.LFB2:
.LFB2:
        pushl   %ebp
        pushl   %ebp
.LCFI2:
.LCFI2:
        movl    %esp, %ebp
        movl    %esp, %ebp
.LCFI3:
.LCFI3:
        subl    $40, %esp
        subl    $40, %esp
        leal    -24(%ebp), %edx
        leal    -24(%ebp), %edx
        movl    %edx, -12(%ebp) /* resp */
        movl    %edx, -12(%ebp) /* resp */
        leal    8(%ebp), %edx
        leal    8(%ebp), %edx
        movl    %edx, 4(%esp)   /* args = __builtin_dwarf_cfa () */
        movl    %edx, 4(%esp)   /* args = __builtin_dwarf_cfa () */
        leal    -12(%ebp), %edx
        leal    -12(%ebp), %edx
        movl    %edx, (%esp)    /* &resp */
        movl    %edx, (%esp)    /* &resp */
#if defined HAVE_HIDDEN_VISIBILITY_ATTRIBUTE || !defined __PIC__
#if defined HAVE_HIDDEN_VISIBILITY_ATTRIBUTE || !defined __PIC__
        call    ffi_closure_SYSV_inner
        call    ffi_closure_SYSV_inner
#else
#else
        movl    %ebx, 8(%esp)
        movl    %ebx, 8(%esp)
.LCFI7:
.LCFI7:
        call    1f
        call    1f
1:      popl    %ebx
1:      popl    %ebx
        addl    $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx
        addl    $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx
        call    ffi_closure_SYSV_inner@PLT
        call    ffi_closure_SYSV_inner@PLT
        movl    8(%esp), %ebx
        movl    8(%esp), %ebx
#endif
#endif
        movl    -12(%ebp), %ecx
        movl    -12(%ebp), %ecx
        cmpl    $FFI_TYPE_INT, %eax
        cmpl    $FFI_TYPE_INT, %eax
        je      .Lcls_retint
        je      .Lcls_retint
        /* Handle FFI_TYPE_UINT8, FFI_TYPE_SINT8, FFI_TYPE_UINT16,
        /* Handle FFI_TYPE_UINT8, FFI_TYPE_SINT8, FFI_TYPE_UINT16,
           FFI_TYPE_SINT16, FFI_TYPE_UINT32, FFI_TYPE_SINT32.  */
           FFI_TYPE_SINT16, FFI_TYPE_UINT32, FFI_TYPE_SINT32.  */
        cmpl    $FFI_TYPE_UINT64, %eax
        cmpl    $FFI_TYPE_UINT64, %eax
        jge     0f
        jge     0f
        cmpl    $FFI_TYPE_UINT8, %eax
        cmpl    $FFI_TYPE_UINT8, %eax
        jge     .Lcls_retint
        jge     .Lcls_retint
0:      cmpl    $FFI_TYPE_FLOAT, %eax
0:      cmpl    $FFI_TYPE_FLOAT, %eax
        je      .Lcls_retfloat
        je      .Lcls_retfloat
        cmpl    $FFI_TYPE_DOUBLE, %eax
        cmpl    $FFI_TYPE_DOUBLE, %eax
        je      .Lcls_retdouble
        je      .Lcls_retdouble
        cmpl    $FFI_TYPE_LONGDOUBLE, %eax
        cmpl    $FFI_TYPE_LONGDOUBLE, %eax
        je      .Lcls_retldouble
        je      .Lcls_retldouble
        cmpl    $FFI_TYPE_SINT64, %eax
        cmpl    $FFI_TYPE_SINT64, %eax
        je      .Lcls_retllong
        je      .Lcls_retllong
        cmpl    $FFI_TYPE_STRUCT, %eax
        cmpl    $FFI_TYPE_STRUCT, %eax
        je      .Lcls_retstruct
        je      .Lcls_retstruct
.Lcls_epilogue:
.Lcls_epilogue:
        movl    %ebp, %esp
        movl    %ebp, %esp
        popl    %ebp
        popl    %ebp
        ret
        ret
.Lcls_retint:
.Lcls_retint:
        movl    (%ecx), %eax
        movl    (%ecx), %eax
        jmp     .Lcls_epilogue
        jmp     .Lcls_epilogue
.Lcls_retfloat:
.Lcls_retfloat:
        flds    (%ecx)
        flds    (%ecx)
        jmp     .Lcls_epilogue
        jmp     .Lcls_epilogue
.Lcls_retdouble:
.Lcls_retdouble:
        fldl    (%ecx)
        fldl    (%ecx)
        jmp     .Lcls_epilogue
        jmp     .Lcls_epilogue
.Lcls_retldouble:
.Lcls_retldouble:
        fldt    (%ecx)
        fldt    (%ecx)
        jmp     .Lcls_epilogue
        jmp     .Lcls_epilogue
.Lcls_retllong:
.Lcls_retllong:
        movl    (%ecx), %eax
        movl    (%ecx), %eax
        movl    4(%ecx), %edx
        movl    4(%ecx), %edx
        jmp     .Lcls_epilogue
        jmp     .Lcls_epilogue
.Lcls_retstruct:
.Lcls_retstruct:
        movl    %ebp, %esp
        movl    %ebp, %esp
        popl    %ebp
        popl    %ebp
        ret     $4
        ret     $4
.LFE2:
.LFE2:
        .size   ffi_closure_SYSV, .-ffi_closure_SYSV
        .size   ffi_closure_SYSV, .-ffi_closure_SYSV
#if !FFI_NO_RAW_API
#if !FFI_NO_RAW_API
/* Precalculate for e.g. the Solaris 10/x86 assembler.  */
/* Precalculate for e.g. the Solaris 10/x86 assembler.  */
#if FFI_TRAMPOLINE_SIZE == 10
#if FFI_TRAMPOLINE_SIZE == 10
#define RAW_CLOSURE_CIF_OFFSET 12
#define RAW_CLOSURE_CIF_OFFSET 12
#define RAW_CLOSURE_FUN_OFFSET 16
#define RAW_CLOSURE_FUN_OFFSET 16
#define RAW_CLOSURE_USER_DATA_OFFSET 20
#define RAW_CLOSURE_USER_DATA_OFFSET 20
#elif FFI_TRAMPOLINE_SIZE == 24
#elif FFI_TRAMPOLINE_SIZE == 24
#define RAW_CLOSURE_CIF_OFFSET 24
#define RAW_CLOSURE_CIF_OFFSET 24
#define RAW_CLOSURE_FUN_OFFSET 28
#define RAW_CLOSURE_FUN_OFFSET 28
#define RAW_CLOSURE_USER_DATA_OFFSET 32
#define RAW_CLOSURE_USER_DATA_OFFSET 32
#else
#else
#define RAW_CLOSURE_CIF_OFFSET ((FFI_TRAMPOLINE_SIZE + 3) & ~3)
#define RAW_CLOSURE_CIF_OFFSET ((FFI_TRAMPOLINE_SIZE + 3) & ~3)
#define RAW_CLOSURE_FUN_OFFSET (RAW_CLOSURE_CIF_OFFSET + 4)
#define RAW_CLOSURE_FUN_OFFSET (RAW_CLOSURE_CIF_OFFSET + 4)
#define RAW_CLOSURE_USER_DATA_OFFSET (RAW_CLOSURE_FUN_OFFSET + 4)
#define RAW_CLOSURE_USER_DATA_OFFSET (RAW_CLOSURE_FUN_OFFSET + 4)
#endif
#endif
#define CIF_FLAGS_OFFSET 20
#define CIF_FLAGS_OFFSET 20
        .align  4
        .align  4
FFI_HIDDEN (ffi_closure_raw_SYSV)
FFI_HIDDEN (ffi_closure_raw_SYSV)
.globl ffi_closure_raw_SYSV
.globl ffi_closure_raw_SYSV
        .type   ffi_closure_raw_SYSV, @function
        .type   ffi_closure_raw_SYSV, @function
ffi_closure_raw_SYSV:
ffi_closure_raw_SYSV:
.LFB3:
.LFB3:
        pushl   %ebp
        pushl   %ebp
.LCFI4:
.LCFI4:
        movl    %esp, %ebp
        movl    %esp, %ebp
.LCFI5:
.LCFI5:
        pushl   %esi
        pushl   %esi
.LCFI6:
.LCFI6:
        subl    $36, %esp
        subl    $36, %esp
        movl    RAW_CLOSURE_CIF_OFFSET(%eax), %esi       /* closure->cif */
        movl    RAW_CLOSURE_CIF_OFFSET(%eax), %esi       /* closure->cif */
        movl    RAW_CLOSURE_USER_DATA_OFFSET(%eax), %edx /* closure->user_data */
        movl    RAW_CLOSURE_USER_DATA_OFFSET(%eax), %edx /* closure->user_data */
        movl    %edx, 12(%esp)  /* user_data */
        movl    %edx, 12(%esp)  /* user_data */
        leal    8(%ebp), %edx   /* __builtin_dwarf_cfa () */
        leal    8(%ebp), %edx   /* __builtin_dwarf_cfa () */
        movl    %edx, 8(%esp)   /* raw_args */
        movl    %edx, 8(%esp)   /* raw_args */
        leal    -24(%ebp), %edx
        leal    -24(%ebp), %edx
        movl    %edx, 4(%esp)   /* &res */
        movl    %edx, 4(%esp)   /* &res */
        movl    %esi, (%esp)    /* cif */
        movl    %esi, (%esp)    /* cif */
        call    *RAW_CLOSURE_FUN_OFFSET(%eax)            /* closure->fun */
        call    *RAW_CLOSURE_FUN_OFFSET(%eax)            /* closure->fun */
        movl    CIF_FLAGS_OFFSET(%esi), %eax             /* rtype */
        movl    CIF_FLAGS_OFFSET(%esi), %eax             /* rtype */
        cmpl    $FFI_TYPE_INT, %eax
        cmpl    $FFI_TYPE_INT, %eax
        je      .Lrcls_retint
        je      .Lrcls_retint
        /* Handle FFI_TYPE_UINT8, FFI_TYPE_SINT8, FFI_TYPE_UINT16,
        /* Handle FFI_TYPE_UINT8, FFI_TYPE_SINT8, FFI_TYPE_UINT16,
           FFI_TYPE_SINT16, FFI_TYPE_UINT32, FFI_TYPE_SINT32.  */
           FFI_TYPE_SINT16, FFI_TYPE_UINT32, FFI_TYPE_SINT32.  */
        cmpl    $FFI_TYPE_UINT64, %eax
        cmpl    $FFI_TYPE_UINT64, %eax
        jge     0f
        jge     0f
        cmpl    $FFI_TYPE_UINT8, %eax
        cmpl    $FFI_TYPE_UINT8, %eax
        jge     .Lrcls_retint
        jge     .Lrcls_retint
0:
0:
        cmpl    $FFI_TYPE_FLOAT, %eax
        cmpl    $FFI_TYPE_FLOAT, %eax
        je      .Lrcls_retfloat
        je      .Lrcls_retfloat
        cmpl    $FFI_TYPE_DOUBLE, %eax
        cmpl    $FFI_TYPE_DOUBLE, %eax
        je      .Lrcls_retdouble
        je      .Lrcls_retdouble
        cmpl    $FFI_TYPE_LONGDOUBLE, %eax
        cmpl    $FFI_TYPE_LONGDOUBLE, %eax
        je      .Lrcls_retldouble
        je      .Lrcls_retldouble
        cmpl    $FFI_TYPE_SINT64, %eax
        cmpl    $FFI_TYPE_SINT64, %eax
        je      .Lrcls_retllong
        je      .Lrcls_retllong
.Lrcls_epilogue:
.Lrcls_epilogue:
        addl    $36, %esp
        addl    $36, %esp
        popl    %esi
        popl    %esi
        popl    %ebp
        popl    %ebp
        ret
        ret
.Lrcls_retint:
.Lrcls_retint:
        movl    -24(%ebp), %eax
        movl    -24(%ebp), %eax
        jmp     .Lrcls_epilogue
        jmp     .Lrcls_epilogue
.Lrcls_retfloat:
.Lrcls_retfloat:
        flds    -24(%ebp)
        flds    -24(%ebp)
        jmp     .Lrcls_epilogue
        jmp     .Lrcls_epilogue
.Lrcls_retdouble:
.Lrcls_retdouble:
        fldl    -24(%ebp)
        fldl    -24(%ebp)
        jmp     .Lrcls_epilogue
        jmp     .Lrcls_epilogue
.Lrcls_retldouble:
.Lrcls_retldouble:
        fldt    -24(%ebp)
        fldt    -24(%ebp)
        jmp     .Lrcls_epilogue
        jmp     .Lrcls_epilogue
.Lrcls_retllong:
.Lrcls_retllong:
        movl    -24(%ebp), %eax
        movl    -24(%ebp), %eax
        movl    -20(%ebp), %edx
        movl    -20(%ebp), %edx
        jmp     .Lrcls_epilogue
        jmp     .Lrcls_epilogue
.LFE3:
.LFE3:
        .size   ffi_closure_raw_SYSV, .-ffi_closure_raw_SYSV
        .size   ffi_closure_raw_SYSV, .-ffi_closure_raw_SYSV
#endif
#endif
#if defined __PIC__
#if defined __PIC__
# if defined __sun__ && defined __svr4__
# if defined __sun__ && defined __svr4__
/* 32-bit Solaris 2/x86 uses datarel encoding for PIC.  GNU ld before 2.22
/* 32-bit Solaris 2/x86 uses datarel encoding for PIC.  GNU ld before 2.22
   doesn't correctly sort .eh_frame_hdr with mixed encodings, so match this.  */
   doesn't correctly sort .eh_frame_hdr with mixed encodings, so match this.  */
#  define FDE_ENCODING          0x30    /* datarel */
#  define FDE_ENCODING          0x30    /* datarel */
#  define FDE_ENCODE(X)         X@GOTOFF
#  define FDE_ENCODE(X)         X@GOTOFF
# else
# else
#  define FDE_ENCODING          0x1b    /* pcrel sdata4 */
#  define FDE_ENCODING          0x1b    /* pcrel sdata4 */
#  if defined HAVE_AS_X86_PCREL
#  if defined HAVE_AS_X86_PCREL
#   define FDE_ENCODE(X)        X-.
#   define FDE_ENCODE(X)        X-.
#  else
#  else
#   define FDE_ENCODE(X)        X@rel
#   define FDE_ENCODE(X)        X@rel
#  endif
#  endif
# endif
# endif
#else
#else
# define FDE_ENCODING           0        /* absolute */
# define FDE_ENCODING           0        /* absolute */
# define FDE_ENCODE(X)          X
# define FDE_ENCODE(X)          X
#endif
#endif
        .section        .eh_frame,EH_FRAME_FLAGS,@progbits
        .section        .eh_frame,EH_FRAME_FLAGS,@progbits
.Lframe1:
.Lframe1:
        .long   .LECIE1-.LSCIE1 /* Length of Common Information Entry */
        .long   .LECIE1-.LSCIE1 /* Length of Common Information Entry */
.LSCIE1:
.LSCIE1:
        .long   0x0     /* CIE Identifier Tag */
        .long   0x0     /* CIE Identifier Tag */
        .byte   0x1     /* CIE Version */
        .byte   0x1     /* CIE Version */
#ifdef HAVE_AS_ASCII_PSEUDO_OP
#ifdef HAVE_AS_ASCII_PSEUDO_OP
#ifdef __PIC__
#ifdef __PIC__
        .ascii "zR\0"   /* CIE Augmentation */
        .ascii "zR\0"   /* CIE Augmentation */
#else
#else
        .ascii "\0"     /* CIE Augmentation */
        .ascii "\0"     /* CIE Augmentation */
#endif
#endif
#elif defined HAVE_AS_STRING_PSEUDO_OP
#elif defined HAVE_AS_STRING_PSEUDO_OP
#ifdef __PIC__
#ifdef __PIC__
        .string "zR"    /* CIE Augmentation */
        .string "zR"    /* CIE Augmentation */
#else
#else
        .string ""      /* CIE Augmentation */
        .string ""      /* CIE Augmentation */
#endif
#endif
#else
#else
#error missing .ascii/.string
#error missing .ascii/.string
#endif
#endif
        .byte   0x1     /* .uleb128 0x1; CIE Code Alignment Factor */
        .byte   0x1     /* .uleb128 0x1; CIE Code Alignment Factor */
        .byte   0x7c    /* .sleb128 -4; CIE Data Alignment Factor */
        .byte   0x7c    /* .sleb128 -4; CIE Data Alignment Factor */
        .byte   0x8     /* CIE RA Column */
        .byte   0x8     /* CIE RA Column */
#ifdef __PIC__
#ifdef __PIC__
        .byte   0x1     /* .uleb128 0x1; Augmentation size */
        .byte   0x1     /* .uleb128 0x1; Augmentation size */
        .byte   FDE_ENCODING
        .byte   FDE_ENCODING
#endif
#endif
        .byte   0xc     /* DW_CFA_def_cfa */
        .byte   0xc     /* DW_CFA_def_cfa */
        .byte   0x4     /* .uleb128 0x4 */
        .byte   0x4     /* .uleb128 0x4 */
        .byte   0x4     /* .uleb128 0x4 */
        .byte   0x4     /* .uleb128 0x4 */
        .byte   0x88    /* DW_CFA_offset, column 0x8 */
        .byte   0x88    /* DW_CFA_offset, column 0x8 */
        .byte   0x1     /* .uleb128 0x1 */
        .byte   0x1     /* .uleb128 0x1 */
        .align 4
        .align 4
.LECIE1:
.LECIE1:
.LSFDE1:
.LSFDE1:
        .long   .LEFDE1-.LASFDE1        /* FDE Length */
        .long   .LEFDE1-.LASFDE1        /* FDE Length */
.LASFDE1:
.LASFDE1:
        .long   .LASFDE1-.Lframe1       /* FDE CIE offset */
        .long   .LASFDE1-.Lframe1       /* FDE CIE offset */
        .long   FDE_ENCODE(.LFB1)       /* FDE initial location */
        .long   FDE_ENCODE(.LFB1)       /* FDE initial location */
        .long   .LFE1-.LFB1             /* FDE address range */
        .long   .LFE1-.LFB1             /* FDE address range */
#ifdef __PIC__
#ifdef __PIC__
        .byte   0x0     /* .uleb128 0x0; Augmentation size */
        .byte   0x0     /* .uleb128 0x0; Augmentation size */
#endif
#endif
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .long   .LCFI0-.LFB1
        .long   .LCFI0-.LFB1
        .byte   0xe     /* DW_CFA_def_cfa_offset */
        .byte   0xe     /* DW_CFA_def_cfa_offset */
        .byte   0x8     /* .uleb128 0x8 */
        .byte   0x8     /* .uleb128 0x8 */
        .byte   0x85    /* DW_CFA_offset, column 0x5 */
        .byte   0x85    /* DW_CFA_offset, column 0x5 */
        .byte   0x2     /* .uleb128 0x2 */
        .byte   0x2     /* .uleb128 0x2 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .long   .LCFI1-.LCFI0
        .long   .LCFI1-.LCFI0
        .byte   0xd     /* DW_CFA_def_cfa_register */
        .byte   0xd     /* DW_CFA_def_cfa_register */
        .byte   0x5     /* .uleb128 0x5 */
        .byte   0x5     /* .uleb128 0x5 */
        .align 4
        .align 4
.LEFDE1:
.LEFDE1:
.LSFDE2:
.LSFDE2:
        .long   .LEFDE2-.LASFDE2        /* FDE Length */
        .long   .LEFDE2-.LASFDE2        /* FDE Length */
.LASFDE2:
.LASFDE2:
        .long   .LASFDE2-.Lframe1       /* FDE CIE offset */
        .long   .LASFDE2-.Lframe1       /* FDE CIE offset */
        .long   FDE_ENCODE(.LFB2)       /* FDE initial location */
        .long   FDE_ENCODE(.LFB2)       /* FDE initial location */
        .long   .LFE2-.LFB2             /* FDE address range */
        .long   .LFE2-.LFB2             /* FDE address range */
#ifdef __PIC__
#ifdef __PIC__
        .byte   0x0     /* .uleb128 0x0; Augmentation size */
        .byte   0x0     /* .uleb128 0x0; Augmentation size */
#endif
#endif
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .long   .LCFI2-.LFB2
        .long   .LCFI2-.LFB2
        .byte   0xe     /* DW_CFA_def_cfa_offset */
        .byte   0xe     /* DW_CFA_def_cfa_offset */
        .byte   0x8     /* .uleb128 0x8 */
        .byte   0x8     /* .uleb128 0x8 */
        .byte   0x85    /* DW_CFA_offset, column 0x5 */
        .byte   0x85    /* DW_CFA_offset, column 0x5 */
        .byte   0x2     /* .uleb128 0x2 */
        .byte   0x2     /* .uleb128 0x2 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .long   .LCFI3-.LCFI2
        .long   .LCFI3-.LCFI2
        .byte   0xd     /* DW_CFA_def_cfa_register */
        .byte   0xd     /* DW_CFA_def_cfa_register */
        .byte   0x5     /* .uleb128 0x5 */
        .byte   0x5     /* .uleb128 0x5 */
#if !defined HAVE_HIDDEN_VISIBILITY_ATTRIBUTE && defined __PIC__
#if !defined HAVE_HIDDEN_VISIBILITY_ATTRIBUTE && defined __PIC__
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .long   .LCFI7-.LCFI3
        .long   .LCFI7-.LCFI3
        .byte   0x83    /* DW_CFA_offset, column 0x3 */
        .byte   0x83    /* DW_CFA_offset, column 0x3 */
        .byte   0xa     /* .uleb128 0xa */
        .byte   0xa     /* .uleb128 0xa */
#endif
#endif
        .align 4
        .align 4
.LEFDE2:
.LEFDE2:
#if !FFI_NO_RAW_API
#if !FFI_NO_RAW_API
.LSFDE3:
.LSFDE3:
        .long   .LEFDE3-.LASFDE3        /* FDE Length */
        .long   .LEFDE3-.LASFDE3        /* FDE Length */
.LASFDE3:
.LASFDE3:
        .long   .LASFDE3-.Lframe1       /* FDE CIE offset */
        .long   .LASFDE3-.Lframe1       /* FDE CIE offset */
        .long   FDE_ENCODE(.LFB3)       /* FDE initial location */
        .long   FDE_ENCODE(.LFB3)       /* FDE initial location */
        .long   .LFE3-.LFB3             /* FDE address range */
        .long   .LFE3-.LFB3             /* FDE address range */
#ifdef __PIC__
#ifdef __PIC__
        .byte   0x0     /* .uleb128 0x0; Augmentation size */
        .byte   0x0     /* .uleb128 0x0; Augmentation size */
#endif
#endif
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .long   .LCFI4-.LFB3
        .long   .LCFI4-.LFB3
        .byte   0xe     /* DW_CFA_def_cfa_offset */
        .byte   0xe     /* DW_CFA_def_cfa_offset */
        .byte   0x8     /* .uleb128 0x8 */
        .byte   0x8     /* .uleb128 0x8 */
        .byte   0x85    /* DW_CFA_offset, column 0x5 */
        .byte   0x85    /* DW_CFA_offset, column 0x5 */
        .byte   0x2     /* .uleb128 0x2 */
        .byte   0x2     /* .uleb128 0x2 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .long   .LCFI5-.LCFI4
        .long   .LCFI5-.LCFI4
        .byte   0xd     /* DW_CFA_def_cfa_register */
        .byte   0xd     /* DW_CFA_def_cfa_register */
        .byte   0x5     /* .uleb128 0x5 */
        .byte   0x5     /* .uleb128 0x5 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .byte   0x4     /* DW_CFA_advance_loc4 */
        .long   .LCFI6-.LCFI5
        .long   .LCFI6-.LCFI5
        .byte   0x86    /* DW_CFA_offset, column 0x6 */
        .byte   0x86    /* DW_CFA_offset, column 0x6 */
        .byte   0x3     /* .uleb128 0x3 */
        .byte   0x3     /* .uleb128 0x3 */
        .align 4
        .align 4
.LEFDE3:
.LEFDE3:
#endif
#endif
#endif /* ifndef __x86_64__ */
#endif /* ifndef __x86_64__ */
#if defined __ELF__ && defined __linux__
#if defined __ELF__ && defined __linux__
        .section        .note.GNU-stack,"",@progbits
        .section        .note.GNU-stack,"",@progbits
#endif
#endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.