32 Commits

Author SHA1 Message Date
jasper
eebdccbea9 - update to libffi-3.0.13 (an update to 3.1 will be worked on shortly)
- sync homepage

tested by many on nearly every supported architecture, thanks!

feedback/ok miod@
2014-06-04 17:40:27 +00:00
jasper
ef36312939 add missing dependency on libtool; spotted by sthen@ 2014-04-20 16:44:30 +00:00
jasper
fb03e32fdf patch and do the auto-dance to make merging with newer versions a lot easier. 2014-04-20 16:09:47 +00:00
fgsch
0539e80e0f Simplify. No functional change. 2013-10-23 17:46:01 +00:00
fgsch
dad43e63c5 Fix libffi on arm. Change the code to work with our current ABI (APCS) as
much as possible until we switch to ATPCS or AAPCS.
jasper@ (maintainer) ok.
2013-10-23 10:32:01 +00:00
miod
b3d2c78490 The m68k fixes were not good enough to work correctly for closures around
functions returning structs of 5 to 15 bytes, inclusive; making me wonder
what I had actually tested. Now all the testcase passes, for real. Noticed
while working on cleaning these changes to push them upstream.
Bump revision.
2013-07-15 19:01:56 +00:00
miod
e164118f4e Update the VAX code to work in the ELF world: add register prefixes, and switch
to the reentrant struct return convention (non-pcc).
Bump revision.
2013-07-14 15:29:32 +00:00
jasper
2dfe427d66 re-instate a small part of this previously removed patch; enough to get
libffi building again on arm.

tested by patrick@
2013-05-07 20:41:23 +00:00
jasper
2082e94e14 regen; no functional change 2013-05-07 20:04:18 +00:00
miod
9c81cdc52f Fix m68k support (Linux/ELF uses a slightly different calling convention than
SysV/m68k, which NetBSD and OpenBSD follow).

Add m88k/ELF support.

Add vax/a.out support.

All tests from the libffi.call dejagnu testsuite pass on these three platforms.

ok jasper@
2013-05-01 10:11:54 +00:00
kettenis
190b79fcd0 Fix stack alignment on i386.
ok jasper@, ajacoutot@
2013-04-01 11:53:52 +00:00
jasper
791f5dabdf - fix an implicit declaration 2013-03-21 16:22:51 +00:00
jasper
a5fac2184e - remove patch for arm that dealt with lack of UNWIND support in our 2.15 linker.
a full update of libffi is in the works as well, so remove the comment from Makefile.
2013-03-21 15:52:08 +00:00
ajacoutot
58f1a6f9f6 USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00
espie
bcf3856632 PERMIT_* / REGRESS->TEST sweep 2013-03-11 10:50:00 +00:00
miod
db9eab8ba7 Add m68k to the NOT_FOR_ARCHS list, needs significant work to build. 2012-09-01 18:15:06 +00:00
naddy
1663a22640 no need for groff 2012-08-05 00:16:50 +00:00
jasper
6ec320d6c9 add a reminder comment 2012-04-05 16:11:01 +00:00
espie
5855efb734 move depends to new style 2010-11-15 19:45:56 +00:00
espie
5c08d95027 USE_GROFF=Yes 2010-10-18 17:47:50 +00:00
jasper
7363106a31 - missed this diff in previous commit, fixes build on mips64 2010-09-22 22:24:56 +00:00
jasper
56c4dcb339 - update libffi to 3.0.9
- remove unneeded patch
2010-09-19 20:19:15 +00:00
jasper
de46d01df2 - enable libffi on mips64(el)
ok espie@ phessler@

ports is unlocked for a while only for those who have been informed.
if I DID NOT MAIL YOU, DO NOT COMMIT!
2010-02-23 19:08:55 +00:00
jasper
fcaeef2071 - extend archtecture tests for mips64el
ok naddy@
2010-02-09 12:18:45 +00:00
espie
e5cb9e6e91 tsk, tsk. People still don't remember that updates happen. 2009-12-12 16:39:00 +00:00
jasper
70e8508886 - enable libffi on hppa
tested by landry@, thanks!
2009-10-23 15:39:51 +00:00
jasper
d6c8b944d5 - resolve the conflict with gcj 2009-10-10 22:48:54 +00:00
jasper
225bd501b0 - add a note that libffi will most likely never work on vax...
- fix license marker
2009-10-10 18:18:14 +00:00
jasper
0c82bca246 - add short blurb 2009-10-05 20:50:07 +00:00
jasper
a24b18c60e - take maintainership of libffi, and drop it of two others. any takers? 2009-09-25 15:59:15 +00:00
sthen
7ac194ac29 zap spurious commas in NOT_FOR_ARCHS 2009-09-25 14:33:05 +00:00
jasper
9bf295a421 import libffi 3.0.8
FFI stands for Foreign Function Interface. A foreign function interface
is the popular name for the interface that allows code written in one
language to call code written in another language. The libffi library
really only provides the lowest, machine dependent layer of a fully
featured foreign function interface. A layer must exist above libffi
that handles type conversions for values passed between the two
languages.

successfully tested on seven arches by me. other arches are disabled for now as
they need more work (mips64) or haven't been tested yet.
2009-09-23 20:55:46 +00:00