CS main
pnet main
libffi.asm
libffi x86 symbols

OK, you may be wondering what are these symbols doing here? Well, it is mainly going to be a reference for porting purposes.


nm libffi.a
-----------
debug.o:
00000000 b .bss
00000000 d .data
00000000 ? .stab
00000000 ? .stabstr
00000000 t .text
00000000 t ___gnu_compiled_c
         U __impure_ptr
         U _abort
00000040 T _ffi_assert
00000000 T _ffi_stop_here
0000006c T _ffi_type_test
         U _fprintf
00000000 t gcc2_compiled.

prep_cif.o:
00000000 b .bss
00000000 d .data
00000000 ? .stab
00000000 ? .stabstr
00000000 t .text
00000000 t ___gnu_compiled_c
00000078 T _ffi_prep_cif
         U _ffi_prep_cif_machdep
00000000 t _initialize_aggregate
00000000 t gcc2_compiled.

types.o:
00000000 b .bss
00000000 d .data
00000000 ? .stab
00000000 ? .stabstr
00000000 t .text
00000000 t ___gnu_compiled_c
00000084 D _ffi_type_double
00000054 D _ffi_type_float
00000090 D _ffi_type_longdouble
00000060 D _ffi_type_pointer
00000048 D _ffi_type_sint
00000030 D _ffi_type_sint16
00000048 D _ffi_type_sint32
00000078 D _ffi_type_sint64
00000018 D _ffi_type_sint8
00000048 D _ffi_type_slong
00000030 D _ffi_type_sshort
0000003c D _ffi_type_uint
00000024 D _ffi_type_uint16
0000003c D _ffi_type_uint32
0000006c D _ffi_type_uint64
0000000c D _ffi_type_uint8
0000003c D _ffi_type_ulong
00000024 D _ffi_type_ushort
00000000 D _ffi_type_void
00000000 t gcc2_compiled.

raw_api.o:
00000000 b .bss
00000000 d .data
00000000 ? .stab
00000000 ? .stabstr
00000000 t .text
00000000 t ___gnu_compiled_c
00000090 T _ffi_ptrarray_to_raw
00000000 T _ffi_raw_size
0000003c T _ffi_raw_to_ptrarray
         U _memcpy
00000000 t gcc2_compiled.

java_raw_api.o:
00000000 b .bss
00000000 d .data
00000000 ? .stab
00000000 ? .stabstr
00000000 t .text
00000000 t ___gnu_compiled_c
         U _abort
00000090 T _ffi_java_ptrarray_to_raw
00000000 T _ffi_java_raw_size
00000050 T _ffi_java_raw_to_ptrarray
         U _memcpy
00000000 t gcc2_compiled.

t-ffi.o:
00000000 b .bss
00000000 d .data
00000000 ? .stab
00000000 ? .stabstr
00000000 t .text
00000000 t ___gnu_compiled_c
         U __alloca
00000190 T _ffi_call
         U _ffi_call_SYSV
000001f4 t _ffi_closure_SYSV
00000344 t _ffi_closure_raw_SYSV
00000000 T _ffi_prep_args
000003f0 t _ffi_prep_args_raw
00000114 T _ffi_prep_cif_machdep
0000030c T _ffi_prep_closure
00000298 t _ffi_prep_incoming_args_SYSV
000003b0 T _ffi_prep_raw_closure
00000414 T _ffi_raw_call
         U _memcpy
00000000 t gcc2_compiled.

t-asm.o:
00000000 b .bss
00000000 d .data
00000071 t .ffi_call_SYSV_end
00000000 t .text
00000000 T _ffi_call_SYSV
0000006d t epilogue
         U ffi_prep_args
0000006d t noretval
00000047 t retdouble
0000003b t retfloat
0000002e t retint
0000005f t retint64
00000053 t retlongdouble
0000006d t retstruct

------------------------
environment: cygwin, W2K

Counter