Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer

--HG--
rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp
rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h
rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp
rename : js/ctypes/Library.h => js/src/ctypes/Library.h
rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg
rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch
rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog
rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi
rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj
rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1
rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE
rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am
rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in
rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README
rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4
rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4
rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile
rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess
rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub
rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure
rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac
rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host
rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp
rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info
rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi
rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti
rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi
rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in
rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am
rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in
rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in
rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h
rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh
rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in
rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version
rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh
rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4
rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4
rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4
rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4
rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4
rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am
rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in
rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3
rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3
rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3
rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh
rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing
rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh
rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c
rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h
rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S
rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c
rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h
rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S
rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c
rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h
rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S
rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c
rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c
rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h
rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S
rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c
rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c
rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S
rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c
rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h
rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c
rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h
rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h
rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S
rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c
rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c
rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h
rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S
rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c
rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h
rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S
rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c
rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h
rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S
rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S
rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S
rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c
rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h
rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c
rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h
rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S
rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S
rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S
rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S
rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h
rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S
rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S
rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c
rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c
rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h
rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S
rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S
rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S
rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S
rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c
rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c
rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c
rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h
rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S
rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c
rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h
rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S
rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c
rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h
rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S
rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c
rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h
rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S
rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S
rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c
rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S
rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S
rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c
rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c
rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h
rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S
rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S
rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S
rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S
rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S
rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am
rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in
rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp
rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp
rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp
rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp
rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c
rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c
rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c
rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c
rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c
rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h
rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c
rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c
rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c
rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c
rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c
rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c
rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c
rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c
rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c
rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c
rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c
rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c
rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c
rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c
rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c
rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c
rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c
rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c
rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c
rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c
rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c
rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c
rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h
rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp
rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc
rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc
rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex
rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
This commit is contained in:
Dan Witte 2010-04-02 12:02:17 -07:00
Родитель 7d438a554a
Коммит ddd7aaa1d3
270 изменённых файлов: 124 добавлений и 62 удалений

Просмотреть файл

@ -8132,9 +8132,6 @@ if test "$BUILD_CTYPES"; then
if test "$OS_ARCH" = "WINCE" -a `echo $OS_TEST | grep -ic arm` = 1; then
# Disable ctypes for arm/wince.
BUILD_CTYPES=
elif test "$_MSC_VER" && test -z $AS; then
# Disable ctypes if we're on MSVC and MASM is unavailable.
AC_MSG_ERROR([No suitable assembler found. An assembler is required to build js-ctypes. You may --disable-ctypes to avoid this. If you are building with MS Visual Studio 8 Express, you may download the MASM 8.0 package, upgrade to Visual Studio 9 Express, or install the Vista SDK.])
else
AC_DEFINE(BUILD_CTYPES)
fi
@ -8725,6 +8722,10 @@ fi
dist=$MOZ_BUILD_ROOT/dist
ac_configure_args="$_SUBDIR_CONFIG_ARGS"
ac_configure_args="$ac_configure_args --enable-threadsafe"
if test "$BUILD_CTYPES"; then
# Build js-ctypes on the platforms we can.
ac_configure_args="$ac_configure_args --enable-ctypes"
fi
if test -z "$MOZ_NATIVE_NSPR"; then
ac_configure_args="$ac_configure_args --with-nspr-cflags='$NSPR_CFLAGS'"
ac_configure_args="$ac_configure_args --with-nspr-libs='$NSPR_LIBS'"
@ -8741,54 +8742,6 @@ fi
AC_OUTPUT_SUBDIRS(js/src)
ac_configure_args="$_SUBDIR_CONFIG_ARGS"
# Build jsctypes on the platforms we can.
if test "$BUILD_CTYPES"; then
# Run the libffi 'configure' script.
ac_configure_args="--disable-shared --enable-static --disable-raw-api"
if test "$MOZ_DEBUG"; then
ac_configure_args="$ac_configure_args --enable-debug"
fi
if test "$DSO_PIC_CFLAGS"; then
ac_configure_args="$ac_configure_args --with-pic"
fi
if test "$CROSS_COMPILE"; then
case "$target" in
*-mingw*)
ac_configure_args="$ac_configure_args --build=$build --host=${target_cpu}-${target_os} HOST_CC=\"$HOST_CC\" CC=\"$CC\""
;;
*)
ac_configure_args="$ac_configure_args --build=$build --host=$target HOST_CC=\"$HOST_CC\" CC=\"$CC\""
;;
esac
fi
if test "$_MSC_VER"; then
# Use a wrapper script for cl and ml that looks more like gcc.
# autotools can't quite handle an MSVC build environment yet.
ac_configure_args="$ac_configure_args LD=link CPP=\"cl -nologo -EP\" SHELL=sh.exe"
case "${target_cpu}" in
x86_64)
# Need target since MSYS tools into mozilla-build may be 32bit
ac_configure_args="$ac_configure_args CC=\"$_topsrcdir/js/ctypes/libffi/msvcc.sh -m64\" --build=$build --host=$target"
;;
*)
ac_configure_args="$ac_configure_args CC=$_topsrcdir/js/ctypes/libffi/msvcc.sh"
;;
esac
fi
if test "$SOLARIS_SUNPRO_CC"; then
# Always use gcc for libffi on Solaris
ac_configure_args="$ac_configure_args CC=gcc"
fi
# Use a separate cache file for libffi, since it does things differently
# from our configure.
old_cache_file=$cache_file
cache_file=js/ctypes/libffi/config.cache
AC_OUTPUT_SUBDIRS(js/ctypes/libffi)
cache_file=$old_cache_file
ac_configure_args="$_SUBDIR_CONFIG_ARGS"
fi
fi # COMPILE_ENVIRONMENT && !LIBXUL_SDK_DIR
dnl Prevent the regeneration of autoconf.mk forcing rebuilds of the world

Просмотреть файл

@ -278,6 +278,27 @@ endif
endif # ENABLE_TRACEJIT
ifdef JS_HAS_CTYPES
CPPSRCS += \
ctypes/CTypes.cpp \
ctypes/Library.cpp \
$(NULL)
LOCAL_INCLUDES = \
-Ictypes/libffi/include \
$(NULL)
ifeq ($(OS_ARCH),OS2)
# libffi builds an aout lib on OS/2; convert it to an OMF lib.
ctypes/libffi/.libs/libffi.$(LIB_SUFFIX): ctypes/libffi/.libs/libffi.a
emxomf $<
endif
SHARED_LIBRARY_LIBS = \
ctypes/libffi/.libs/libffi.$(LIB_SUFFIX) \
$(NULL)
endif # JS_HAS_CTYPES
ifdef HAVE_DTRACE
INSTALLED_HEADERS += \
jsdtracef.h \
@ -347,6 +368,16 @@ endif
include $(topsrcdir)/config/rules.mk
ifdef JS_HAS_CTYPES
# Build libffi proper as part of the 'exports' target, so things get built
# in the right order.
export::
$(call SUBMAKE,,ctypes/libffi)
clean::
$(call SUBMAKE,clean,ctypes/libffi)
endif
ifdef MOZ_SYNC_BUILD_FILES
# Because the SpiderMonkey can be distributed and built independently
# of the Mozilla source tree, it contains its own copies of many of
@ -409,6 +440,10 @@ ifdef JS_THREADSAFE
DEFINES += -DJS_THREADSAFE
endif
ifdef JS_HAS_CTYPES
DEFINES += -DJS_HAS_CTYPES
endif
ifdef JS_NO_THIN_LOCKS
DEFINES += -DJS_USE_ONLY_NSPR_LOCKS
endif

Просмотреть файл

@ -91,6 +91,16 @@ OTHER_LIBS += -L$(DIST)/lib -lnspr$(NSPR_LIBSUFFIX)
endif
endif
ifdef JS_HAS_CTYPES
DEFINES += -DJS_HAS_CTYPES
INCLUDES += -I$(DIST)/include/nspr
ifdef USE_MSVC
OTHER_LIBS += $(DIST)/lib/libnspr$(NSPR_LIBSUFFIX).lib
else
OTHER_LIBS += -L$(DIST)/lib -lnspr$(NSPR_LIBSUFFIX)
endif
endif
ifdef JS_NO_THIN_LOCKS
DEFINES += -DJS_USE_ONLY_NSPR_LOCKS
endif
@ -392,6 +402,7 @@ js-config-switch=$(if $(value $($1)),-e 's/\#undef $1/\#define $1/')
$(OBJDIR)/js-config.h.stamp: js-config.h.in Makefile.ref
sed < $< > $(@:.stamp=.tmp) \
$(call js-config-switch,JS_THREADSAFE) \
$(call js-config-switch,JS_HAS_CTYPES) \
$(call js-config-switch,JS_GC_ZEAL) \
-e :dummy
if ! [ -f $(@:.stamp=) ] || ! cmp $(@:.stamp=.tmp) $(@:.stamp=); then \

Просмотреть файл

@ -92,6 +92,7 @@ MOZ_JPROF = @MOZ_JPROF@
MOZ_SHARK = @MOZ_SHARK@
MOZ_CALLGRIND = @MOZ_CALLGRIND@
MOZ_VTUNE = @MOZ_VTUNE@
JS_HAS_CTYPES = @JS_HAS_CTYPES@
DEHYDRA_PATH = @DEHYDRA_PATH@
NS_TRACE_MALLOC = @NS_TRACE_MALLOC@

Просмотреть файл

@ -4220,6 +4220,22 @@ MOZ_ARG_WITH_STRING(wrap-malloc,
[ --with-wrap-malloc=DIR Location of malloc wrapper library],
WRAP_MALLOC_LIB=$withval)
dnl ========================================================
dnl = Build jsctypes if it's enabled
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(ctypes,
[ --enable-ctypes Enable js-ctypes (default=no)],
JS_HAS_CTYPES=1,
JS_HAS_CTYPES= )
AC_SUBST(JS_HAS_CTYPES)
if test "$JS_HAS_CTYPES"; then
if test "$_MSC_VER" && test -z $AS; then
# Error out if we're on MSVC and MASM is unavailable.
AC_MSG_ERROR([No suitable assembler found. An assembler is required to build js-ctypes. If you are building with MS Visual Studio 8 Express, you may download the MASM 8.0 package, upgrade to Visual Studio 9 Express, or install the Vista SDK.])
fi
AC_DEFINE(JS_HAS_CTYPES)
fi
dnl ========================================================
dnl = Use TraceVis
dnl ========================================================
@ -5171,6 +5187,8 @@ MAKEFILES="
Makefile
shell/Makefile
lirasm/Makefile
ctypes/Makefile
ctypes/tests/Makefile
jsapi-tests/Makefile
tests/Makefile
config/Makefile
@ -5221,3 +5239,55 @@ fi
# 'js-config' in Makefile.in.
AC_MSG_RESULT(invoking make to create js-config script)
$MAKE js-config
# Build jsctypes if it's enabled.
if test "$JS_HAS_CTYPES"; then
# Run the libffi 'configure' script.
ac_configure_args="--disable-shared --enable-static --disable-raw-api"
if test "$MOZ_DEBUG"; then
ac_configure_args="$ac_configure_args --enable-debug"
fi
if test "$DSO_PIC_CFLAGS"; then
ac_configure_args="$ac_configure_args --with-pic"
fi
if test "$CROSS_COMPILE"; then
case "$target" in
*-mingw*)
ac_configure_args="$ac_configure_args --build=$build --host=${target_cpu}-${target_os} HOST_CC=\"$HOST_CC\" CC=\"$CC\""
;;
*)
ac_configure_args="$ac_configure_args --build=$build --host=$target HOST_CC=\"$HOST_CC\" CC=\"$CC\""
;;
esac
fi
if test "$_MSC_VER"; then
# Use a wrapper script for cl and ml that looks more like gcc.
# autotools can't quite handle an MSVC build environment yet.
ac_configure_args="$ac_configure_args LD=link CPP=\"cl -nologo -EP\" SHELL=sh.exe"
case "${target_cpu}" in
x86_64)
# Need target since MSYS tools into mozilla-build may be 32bit
ac_configure_args="$ac_configure_args CC=\"$_topsrcdir/ctypes/libffi/msvcc.sh -m64\" --build=$build --host=$target"
;;
*)
ac_configure_args="$ac_configure_args CC=$_topsrcdir/ctypes/libffi/msvcc.sh"
;;
esac
fi
if test "$SOLARIS_SUNPRO_CC"; then
# Always use gcc for libffi on Solaris
ac_configure_args="$ac_configure_args CC=gcc"
fi
# Use a separate cache file for libffi, since it does things differently
# from our configure.
old_cache_file=$cache_file
cache_file=ctypes/libffi/config.cache
old_config_files=$CONFIG_FILES
unset CONFIG_FILES
AC_OUTPUT_SUBDIRS(ctypes/libffi)
cache_file=$old_cache_file
ac_configure_args="$_SUBDIR_CONFIG_ARGS"
CONFIG_FILES=$old_config_files
fi

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше