Uros Bizjak
38be4072f9
transpose_optimization_2.f90: Cleanup original dump.
...
* gfortran.dg/transpose_optimization_2.f90: Cleanup original dump.
From-SVN: r169876
2011-02-07 08:34:57 +01:00
Dave Korn
214dab6607
re PR target/40125 (libgcc_s DLL installed in wrong directory in cross toolchain)
...
PR target/40125
* configure.ac (AM_LTLDFLAGS): Add -bindir option for windows DLLs.
* configure: Regenerate.
From-SVN: r169272
2011-01-26 03:33:09 +00:00
Jakub Jelinek
d652f226fc
Update Copyright years for files modified in 2010.
...
From-SVN: r168438
2011-01-03 21:52:22 +01:00
Iain Sandoe
3a9f56e8c8
re PR libffi/29152 (64-bit darwin ppc port needed for libffi)
...
libffi:
PR libffi/29152
PR libffi/42378
* src/powerpc/darwin_closure.S: Provide Darwin64 implementation,
update comments.
* src/powerpc/ffitarget.h (POWERPC_DARWIN64): New,
(FFI_TRAMPOLINE_SIZE): Update for Darwin64.
* src/powerpc/darwin.S: Provide Darwin64 implementation,
update comments.
* src/powerpc/ffi_darwin.c: Likewise.
From-SVN: r168016
2010-12-18 08:56:46 +00:00
Rainer Orth
b62305b019
configure.ac (libffi_cv_as_ascii_pseudo_op): Use double backslashes.
...
* configure.ac (libffi_cv_as_ascii_pseudo_op): Use double
backslashes.
(libffi_cv_as_string_pseudo_op): Likewise.
* configure: Regenerate.
From-SVN: r167502
2010-12-06 16:17:45 +00:00
Chung-Lin Tang
fac6806566
sysv.S (ffi_closure_SYSV): Add UNWIND to .pad directive.
...
2010-12-03 Chung-Lin Tang <cltang@codesourcery.com>
* src/arm/sysv.S (ffi_closure_SYSV): Add UNWIND to .pad directive.
(ffi_closure_VFP): Same.
(ffi_call_VFP): Move down to before ffi_closure_VFP. Add '.fpu vfp'
directive.
From-SVN: r167434
2010-12-03 16:15:26 +00:00
Rainer Orth
ce9315a9f5
ffitest.h [__sgi] (PRId64, PRIu64): Define.
...
* testsuite/libffi.call/ffitest.h [__sgi] (PRId64, PRIu64): Define.
(PRIuPTR): Define.
From-SVN: r167332
2010-12-01 14:00:01 +00:00
Richard Henderson
e12bcbf492
sysv.S (FDE_ENCODING, FDE_ENCODE): Define.
...
2010-11-29 Richard Henderson <rth@redhat.com>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* src/x86/sysv.S (FDE_ENCODING, FDE_ENCODE): Define.
(.eh_frame): Use FDE_ENCODING.
(.LASFDE1, .LASFDE2, LASFDE3): Simplify with FDE_ENCODE.
Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
From-SVN: r167251
2010-11-29 16:43:24 +00:00
Rainer Orth
ed2a97eb0d
libffi-dg.exp: Rename ...
...
* testsuite/lib/libffi-dg.exp: Rename ...
* testsuite/lib/libffi.exp: ... to this.
* libffi/testsuite/libffi.call/call.exp: Don't load libffi-dg.exp.
* libffi/testsuite/libffi.special/special.exp: Likewise.
From-SVN: r166768
2010-11-15 20:30:37 +00:00
Chung-Lin Tang
46e0720d66
Add ARM VFP ABI support to libffi.
...
From-SVN: r166032
2010-10-28 18:11:11 +00:00
Jakub Jelinek
731fc5f040
re PR libffi/45677 (Bad stack allocation for ffi function calls on x86-64)
...
PR libffi/45677
* src/x86/ffi64.c (ffi_prep_cif_machdep): Ensure cif->bytes is
a multiple of 8.
* testsuite/libffi.call/many2.c: New test.
From-SVN: r164829
2010-10-01 09:31:49 +02:00
Mark Wielaard
2cd8686617
closures.c (open_temp_exec_file_mnt): Check if getmntent_r returns NULL.
...
* src/closures.c (open_temp_exec_file_mnt): Check if getmntent_r
returns NULL.
From-SVN: r163809
2010-09-03 10:35:35 +00:00
Jakub Jelinek
be94d007e6
Fix up a wrong ChangeLog entry:
...
* testsuite/libffi.call/err_bad_abi.c: Remove unused args variable.
From-SVN: r163099
2010-08-11 15:59:35 +02:00
Andreas Tobler
87d072e09a
configure.ac: Add target powerpc64-*-freebsd*.
...
2010-08-09 Andreas Tobler <andreast@fgznet.ch>
* configure.ac: Add target powerpc64-*-freebsd*.
* configure: Regenerate.
* testsuite/libffi.call/cls_align_longdouble_split.c: Pass
-mlong-double-128 only to linux targets.
* testsuite/libffi.call/cls_align_longdouble_split2.c: Likewise.
* testsuite/libffi.call/cls_longdouble.c: Likewise.
* testsuite/libffi.call/huge_struct.c: Likewise.
From-SVN: r163030
2010-08-09 15:00:32 +02:00
Dan Witte
7862d49629
Remove warnings
...
From-SVN: r162959
2010-08-06 20:05:33 +00:00
Anthony Green
833bb7dfad
Add missing commit from patch earlier today
...
From-SVN: r162958
2010-08-06 20:02:41 +00:00
Dan Witte
49f6cd1f25
Add OS/2 Support
...
Co-Authored-By: Walter Meinl <wuno@lsvw.de>
From-SVN: r162946
2010-08-06 12:36:26 +00:00
Dan Horák
3d420bdf4d
Define libffi macros carefully
...
From-SVN: r162945
2010-08-06 12:26:52 +00:00
Michael Kohler
0af2372948
Fix spelling errors
...
From-SVN: r162938
2010-08-06 05:45:23 +00:00
Evan Phoenix
07b6d9efd9
Fix SELinux test
...
From-SVN: r162937
2010-08-06 05:40:15 +00:00
Matthias Klose
4736718a4e
Improve libffi comments
...
From-SVN: r162936
2010-08-06 05:28:37 +00:00
Anthony Green
3ac097a580
Enable build with microsoft compiler
...
From-SVN: r162935
2010-08-06 05:24:11 +00:00
Oliver Kiddle
fc28e435cf
Enable build with sun compiler
...
From-SVN: r162933
2010-08-06 04:55:25 +00:00
Conrad Irwin
f2e994f3c6
Add closure API example to documentation
...
From-SVN: r162932
2010-08-06 04:45:46 +00:00
Neil Roberts
4138b429ca
sysv.S (ffi_call_SYSV): Align the stack pointer to 16-bytes.
...
2010-07-07 Neil Roberts <neil@linux.intel.com>
* src/x86/sysv.S (ffi_call_SYSV): Align the stack pointer to
16-bytes.
From-SVN: r161922
2010-07-07 15:59:30 +00:00
Jakub Jelinek
f0ee5e3e2a
Makefile.am (AM_MAKEFLAGS): Pass also mandir to submakes.
...
* Makefile.am (AM_MAKEFLAGS): Pass also mandir to submakes.
* Makefile.in: Regenerated.
From-SVN: r161731
2010-07-02 18:52:38 +02:00
Rainer Orth
d416abb494
configure.ac (libffi_cv_as_x86_pcrel): Check for illegal in as output, too.
...
* configure.ac (libffi_cv_as_x86_pcrel): Check for illegal in as
output, too.
(libffi_cv_as_ascii_pseudo_op): Check for .ascii.
(libffi_cv_as_string_pseudo_op): Check for .string.
* configure: Regenerate.
* fficonfig.h.in: Regenerate.
* src/x86/sysv.S (.eh_frame): Use .ascii, .string or error.
From-SVN: r159570
2010-05-19 15:31:36 +00:00
Jakub Jelinek
60d3aec487
tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not used count variable.
...
* tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not
used count variable.
* genemit.c (gen_expand, gen_split): Avoid set but not used warnings
when operandN variables aren't used in the body of the expander
or splitter.
* tree-outof-ssa.c (FOR_EACH_ELIM_GRAPH_SUCC,
FOR_EACH_ELIM_GRAPH_PRED): Avoid set but not used warnings.
* tree-ssa-operands.h (FOR_EACH_SSA_TREE_OPERAND): Likewise.
* tree-flow.h (FOR_EACH_IMM_USE_FAST, FOR_EACH_IMM_USE_STMT,
FOR_EACH_IMM_USE_ON_STMT): Likewise.
* tree.h (FOR_EACH_CONSTRUCTOR_ELT): Likewise.
* tree.c (PROCESS_ARG): Likewise.
fortran/
* parse.c (parse_derived, parse_enum): Avoid set but not used
warning.
java/
* expr.c (process_jvm_instruction): Avoid set but not used warning.
* builtins.c (compareAndSwapInt_builtin, compareAndSwapLong_builtin,
getVolatile_builtin): Likewise.
libjava/
* exception.cc (_Jv_Throw): Avoid set but not used warning.
* include/java-assert.h (JvAssertMessage, JvAssert): Use argument in
sizeof to avoid set but not used warnings.
libjava/classpath/
* native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c
(Java_gnu_javax_sound_midi_alsa_AlsaPortDevice_run_1receiver_1thread_1):
Avoid set but not used warning.
libiberty/
* regex.c (byte_re_match_2_internal): Avoid set but not used
warning.
gcc/testsuite/
* gcc.dg/builtin-choose-expr.c: Avoid set but not used warnings.
* gcc.dg/trunc-1.c: Likewise.
* gcc.dg/vla-9.c: Likewise.
* gcc.dg/dfp/composite-type.c: Likewise.
libffi/
* testsuite/libffi.call/err_bad_abi.c: Remove unused args variable.
From-SVN: r158084
2010-04-07 22:27:37 +02:00
Ralf Wildenhues
4d9e844614
Update to Automake 1.11.1.
...
gcc/:
PR other/43620
* doc/install.texi (Prerequisites): Bump Automake version to 1.11.1.
* aclocal.m4: Regenerate.
lto-plugin/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
intl/:
* aclocal.m4: Regenerate.
boehm-gc/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* include/Makefile.in: Regenerate.
fixincludes/:
* aclocal.m4: Regenerate.
libcpp/:
* aclocal.m4: Regenerate.
libdecnumber/:
* aclocal.m4: Regenerate.
libffi/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* include/Makefile.in: Regenerate.
* man/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
libgfortran/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
libgomp/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* testsuite/Makefile.in: Regenerate.
libjava/classpath/:
* HACKING: Update required Automake version.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* doc/Makefile.in: Regenerate.
* doc/api/Makefile.in: Regenerate.
* examples/Makefile.in: Regenerate.
* external/Makefile.in: Regenerate.
* external/jsr166/Makefile.in: Regenerate.
* external/relaxngDatatype/Makefile.in: Regenerate.
* external/sax/Makefile.in: Regenerate.
* external/w3c_dom/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* lib/Makefile.in: Regenerate.
* native/Makefile.in: Regenerate.
* native/fdlibm/Makefile.in: Regenerate.
* native/jawt/Makefile.in: Regenerate.
* native/jni/Makefile.in: Regenerate.
* native/jni/classpath/Makefile.in: Regenerate.
* native/jni/gconf-peer/Makefile.in: Regenerate.
* native/jni/gstreamer-peer/Makefile.in: Regenerate.
* native/jni/gtk-peer/Makefile.in: Regenerate.
* native/jni/java-io/Makefile.in: Regenerate.
* native/jni/java-lang/Makefile.in: Regenerate.
* native/jni/java-math/Makefile.in: Regenerate.
* native/jni/java-net/Makefile.in: Regenerate.
* native/jni/java-nio/Makefile.in: Regenerate.
* native/jni/java-util/Makefile.in: Regenerate.
* native/jni/midi-alsa/Makefile.in: Regenerate.
* native/jni/midi-dssi/Makefile.in: Regenerate.
* native/jni/native-lib/Makefile.in: Regenerate.
* native/jni/qt-peer/Makefile.in: Regenerate.
* native/jni/xmlj/Makefile.in: Regenerate.
* native/plugin/Makefile.in: Regenerate.
* resource/Makefile.in: Regenerate.
* scripts/Makefile.in: Regenerate.
* tools/Makefile.in: Regenerate.
libjava/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
libjava/libltdl/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
libmudflap/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* testsuite/Makefile.in: Regenerate.
libobjc/:
* aclocal.m4: Regenerate.
libssp/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
libstdc++-v3/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* doc/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* python/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
zlib/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r157949
2010-04-02 18:18:06 +00:00
Rainer Orth
f4b130bb74
configure.ac (libffi_cv_as_x86_64_unwind_section_type): New test.
...
* configure.ac (libffi_cv_as_x86_64_unwind_section_type): New test.
* configure: Regenerate.
* fficonfig.h.in: Regenerate.
* libffi/src/x86/unix64.S (.eh_frame)
[HAVE_AS_X86_64_UNWIND_SECTION_TYPE]: Use @unwind section type.
From-SVN: r157466
2010-03-15 19:36:26 +00:00
Rainer Orth
22faf0048f
libffi.texi (The Closure API): Fix typo.
...
* doc/libffi.texi (The Closure API): Fix typo.
* doc/libffi.info: Remove.
From-SVN: r157049
2010-02-24 16:02:17 +00:00
Matthias Klose
694d3cfd60
sysv.S (__ARM_ARCH__): Define for processor __ARM_ARCH_7EM__.
...
2010-02-15 Matthias Klose <doko@ubuntu.com>
* src/arm/sysv.S (__ARM_ARCH__): Define for processor
__ARM_ARCH_7EM__.
From-SVN: r156771
2010-02-15 15:19:30 +00:00
Rainer Orth
ec168029ae
re PR libffi/40701 (Many libffi tests fail to compile on Tru64 UNIX)
...
PR libffi/40701
* testsuite/libffi.call/ffitest.h [__alpha__ && __osf__] (PRIdLL,
PRIuLL, PRId64, PRIu64, PRIuPTR): Define.
* testsuite/libffi.call/cls_align_sint64.c: Add -Wno-format on
alpha*-dec-osf*.
* testsuite/libffi.call/cls_align_uint64.c: Likewise.
* testsuite/libffi.call/cls_ulonglong.c: Likewise.
* testsuite/libffi.call/return_ll1.c: Likewise.
* testsuite/libffi.call/stret_medium2.c: Likewise.
* testsuite/libffi.special/ffitestcxx.h (allocate_mmap): Cast
MAP_FAILED to char *.
From-SVN: r155710
2010-01-07 20:35:33 +00:00
Rainer Orth
86d1b9d1e0
* src/mips/n32.S: Use .abicalls and .eh_frame with __GNUC__.
...
From-SVN: r155674
2010-01-06 14:22:26 +00:00
Anthony Green
78542dee33
Update README for libffi 3.0.9.
...
From-SVN: r155553
2010-01-01 12:50:08 +00:00
Matthias Klose
50117ecbdb
Define HAVE_LONG_DOUBLE appropriately for MIPS.
...
From-SVN: r155552
2010-01-01 12:46:02 +00:00
Anthony Green
bc472c0054
xfail tests for AVR32
...
From-SVN: r155551
2010-01-01 12:40:18 +00:00
Andreas Tobler
d7e9538ee5
Fixes for HPUX.
...
From-SVN: r155550
2010-01-01 12:36:07 +00:00
Andreas Tobler
cb14fcb878
Add openbsd support.
...
From-SVN: r155549
2010-01-01 12:32:24 +00:00
Anthony Green
1098bcf812
Update xfails.
...
From-SVN: r155548
2010-01-01 12:26:49 +00:00
Anthony Green
a761df3da4
Windows patch
...
From-SVN: r155540
2009-12-31 17:44:32 +00:00
Anthony Green
493278bea5
New test case.
...
From-SVN: r155538
2009-12-31 16:58:55 +00:00
David Edelsohn
72b79d3945
ffi_darwin.c (ffi_prep_args): Copy abi and nargs to local variables.
...
* src/powerpc/ffi_darwin.c (ffi_prep_args): Copy abi and nargs to
local variables.
(aix_adjust_aggregate_sizes): New function.
(ffi_prep_cif_machdep): Call it.
From-SVN: r155492
2009-12-28 13:19:18 -05:00
Andreas Tobler
99fba2c42a
configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets.
...
2009-12-26 Andreas Tobler <a.tobler@schweiz.org>
* configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets.
* configure: Regenerate.
* fficonfig.h.in: Likewise.
* src/closures.c: Remove the FFI_MMAP_EXEC_WRIT definition for
Solaris/x86.
From-SVN: r155475
2009-12-26 19:49:55 +01:00
Andreas Schwab
302486f4fb
ffi.c (ffi_prep_args_SYSV): Advance intarg_count when a float arguments is passed in memory.
...
* src/powerpc/ffi.c (ffi_prep_args_SYSV): Advance intarg_count
when a float arguments is passed in memory.
(ffi_closure_helper_SYSV): Mark general registers as used up when
a 64bit or soft-float long double argument is passed in memory.
From-SVN: r155473
2009-12-26 12:40:27 +00:00
Anthony Green
b8f38e8917
Fix ChangeLog entry date
...
From-SVN: r155472
2009-12-26 05:04:08 +00:00
Matthias Klose
2c57b16134
Fix libffi docs
...
From-SVN: r155471
2009-12-26 05:01:43 +00:00
Frank Everdij
c4205f77f3
IRIX support
...
From-SVN: r155470
2009-12-26 04:59:25 +00:00
Bradley Smith
124f60ab29
avr32 libffi port
...
From-SVN: r155469
2009-12-26 04:21:07 +00:00
Andreas Tobler
938a483f0d
configure.ac: Make i?86 build on FreeBSD and OpenBSD.
...
2009-12-21 Andreas Tobler <a.tobler@schweiz.org>
* configure.ac: Make i?86 build on FreeBSD and OpenBSD.
* configure: Regenerate.
From-SVN: r155373
2009-12-21 17:31:31 +01:00