|
2f44952c
|
2014-03-16T04:35:12
|
|
Re-add libtool-ldflags
|
|
35634dbc
|
2014-03-15T18:11:16
|
|
Remove autogenerated files from the repository
Add an autogen.sh to regenerate them.
|
|
76d19d00
|
2014-03-14T16:54:31
|
|
Ensure the linker supports @unwind sections in libffi.
|
|
c86d9b6c
|
2014-03-14T16:51:20
|
|
Fix merge
|
|
f8cdf114
|
2014-03-10T15:04:58
|
|
Replace double quotes with single quotes in Makefile.in to improve compatibility between some versions of MSYS and gmake. From Mozilla bug 943728.
https://bugzilla.mozilla.org/show_bug.cgi?id=943728
|
|
dfa37387
|
2014-03-10T14:53:48
|
|
Ensure the linker supports @unwind sections in libffi. From Mozilla bug 756740.
https://bugzilla.mozilla.org/show_bug.cgi?id=778414
Also tracked as issue #42.
https://github.com/atgreen/libffi/issues/42
|
|
18eb81d0
|
2014-03-10T14:43:37
|
|
Allow building for mipsel with Android NDK r8. From Mozilla bug 756740.
https://bugzilla.mozilla.org/show_bug.cgi?id=756740
|
|
634a475e
|
2014-03-01T18:37:29
|
|
Update Makefile for new darwin scripts
|
|
a04e30ba
|
2014-02-28T17:20:59
|
|
Add missing -DFFI_DEBUG flag
|
|
b40aeda3
|
2014-02-28T01:01:29
|
|
Merge branch 'master' of github.com:/atgreen/libffi
|
|
20698abc
|
2014-02-28T00:56:27
|
|
Merge pull request #66 from ppizarro/master
BlackFin fixes - Fatal error when calling a function defined in a shared library from within the function called by FFI
|
|
64bd0699
|
2014-02-28T00:52:56
|
|
Add ChangeLog entry for Josh's change
|
|
33c9954f
|
2014-02-28T00:38:41
|
|
Rebuilt with new libtool
|
|
5a88c85f
|
2014-02-28T00:23:04
|
|
Fix spelling errors
|
|
cc82051c
|
2014-02-28T00:23:04
|
|
Fix spelling errors
|
|
001aaf4b
|
2014-02-28T00:20:17
|
|
When no VFP arguments are present the IP register is used
uninitialized. Initialize it to the value of FP.
This fixes a number of testsuite failures when configured for
armv7l-unknown-linux-gnueabihf
|
|
49f7729c
|
2014-02-28T00:17:16
|
|
aarch64 fix
|
|
447483d5
|
2014-02-27T15:42:41
|
|
Fix ChangeLog merge
|
|
40927bd3
|
2014-01-21T23:18:27
|
|
Fix call floating point va function
I'm not sure floating-point arguments in GPR or FPR before calling
variable number arguments function. so, load all arguments to GPR and
FPR.
|
|
f466aad0
|
2014-01-21T16:38:31
|
|
AArch64: Fix missing semicolons when assertions are enabled
|
|
bfc06b3f
|
2013-12-30T17:36:39
|
|
Update ChangeLog
|
|
3dc3f32c
|
2013-12-05T16:23:25
|
|
Undo iOS ARM64 changes.
|
|
d4b931c1
|
2013-11-30T20:58:31
|
|
Remove build-ios from Makefile
|
|
dfbf236d
|
2013-11-30T20:54:54
|
|
Merge branch 'master' of github.com:/atgreen/libffi
Add ChangeLog entry.
|
|
ab79d6e2
|
2013-11-21T06:12:35
|
|
This separates the 32-bit sysv/linux/bsd code from the 64-bit linux
code, and makes it possible to link code compiled with different
options to those used to compile libffi. For example, a
-mlong-double-128 libffi can be used with -mlong-double-64 code.
Using the return value area as a place to pass parameters wasn't such
a good idea, causing a failure of cls_ulonglong.c. I didn't see this
when running the mainline gcc libffi testsuite because that version of
the test is inferior to the upstreamm libffi test.
Using NUM_FPR_ARG_REGISTERS rather than NUM_FPR_ARG_REGISTERS64 meant
that a parameter save area could be allocated before it was strictly
necessary. Wrong but harmless. Found when splitting apart ffi.c
into 32-bit and 64-bit support.
|
|
ac753688
|
2013-11-21T06:12:35
|
|
This separates the 32-bit sysv/linux/bsd code from the 64-bit linux
code, and makes it possible to link code compiled with different
options to those used to compile libffi. For example, a
-mlong-double-128 libffi can be used with -mlong-double-64 code.
Using the return value area as a place to pass parameters wasn't such
a good idea, causing a failure of cls_ulonglong.c. I didn't see this
when running the mainline gcc libffi testsuite because that version of
the test is inferior to the upstreamm libffi test.
Using NUM_FPR_ARG_REGISTERS rather than NUM_FPR_ARG_REGISTERS64 meant
that a parameter save area could be allocated before it was strictly
necessary. Wrong but harmless. Found when splitting apart ffi.c
into 32-bit and 64-bit support.
|
|
aa1f62c0
|
2013-11-18T13:11:56
|
|
Fix PowerPC Darwin FDE encodings to use pcrel correctly. Modernise the picbase labels.
|
|
2f450822
|
2013-11-18T06:52:29
|
|
Clean up code to appease modern GCC compiler.
|
|
16d56c51
|
2013-11-18T06:36:03
|
|
An #endif in the wrong place would cause compile failure on powerpcle.
Using bl instead of b doesn't cause runtime failures as you might think,
but does mess the processor branch prediction.
|
|
83f65b63
|
2013-11-16T06:53:50
|
|
Finally, this adds _CALL_ELF == 2 support. ELFv1 objects can't be
linked with ELFv2 objects, so this is one case where preprocessor
tests in ffi.c are fine. Also, there is no need to define a new
FFI_ELFv2 or somesuch value in enum ffi_abi. FFI_LINUX64 will happily
serve both ABIs.
|
|
1fd04578
|
2013-11-16T06:53:50
|
|
Finally, this adds _CALL_ELF == 2 support. ELFv1 objects can't be
linked with ELFv2 objects, so this is one case where preprocessor
tests in ffi.c are fine. Also, there is no need to define a new
FFI_ELFv2 or somesuch value in enum ffi_abi. FFI_LINUX64 will happily
serve both ABIs.
|
|
36285137
|
2013-11-16T06:52:43
|
|
Andreas' 2013-02-08 change reverted some breakage for struct return
values from 2011-11-12, but in so doing reintroduced string
instructions to sysv.S that are not supported on all powerpc variants.
This patch properly copies the bounce buffer to destination in C code
rather than in asm.
I have tested this on powerpc64-linux, powerpc-linux and
powerpc-freebsd. Well, the last on powerpc-linux by lying to
configure with
CC="gcc -m32 -msvr4-struct-return -mlong-double-64" \
CXX="g++ -m32 -msvr4-struct-return -mlong-double-64" \
/src/libffi-current/configure --build=powerpc-freebsd
and then
make && make CC="gcc -m32" CXX="g++ -m32" \
RUNTESTFLAGS=--target_board=unix/-m32/-msvr4-struct-return/-mlong-double-64\
check
|
|
1c06515d
|
2013-11-16T06:41:36
|
|
The powerpc64 ABIs align structs passed by value, a fact ignored by
gcc for quite some time. Since gcc now does the correct alignment,
libffi needs to follow suit. This ought to be made selectable via
a new abi value, and the #ifdefs removed from ffi.c along with many
other #ifdefs present there and in assembly. I'll do that with a
followup patch sometime.
This is a revised version of
https://sourceware.org/ml/libffi-discuss/2013/msg00162.html
|
|
a97cf1fa
|
2013-11-16T06:40:13
|
|
This patch prepares for ELFv2, where sizes of these areas change. It
also makes some minor changes to improve code efficiency.
|
|
164283f4
|
2013-11-16T06:38:55
|
|
The powerpc64 support opted to pass floating point values both in the
fpr area and the parameter save area, necessary when the backend
doesn't know if a function argument corresponds to the ellipsis
arguments of a variadic function. This patch adds powerpc support for
variadic functions, and changes the code to only pass fp in the ABI
mandated area. ELFv2 needs this change since the parameter save area
may not exist there.
This also fixes two faulty tests that used a non-variadic function
cast to call a variadic function, and spuriously reasoned that this is
somehow necessary for static functions..
|
|
31257b31
|
2013-11-16T06:35:51
|
|
Fix sample closure code
|
|
db0ace3a
|
2013-11-16T06:29:25
|
|
Fix broken test cases
|
|
de10f503
|
2013-11-14T10:56:29
|
|
Merge branch 'master' of https://github.com/bivab/libffi
Conflicts:
ChangeLog
|
|
f3657da2
|
2013-11-14T13:02:16
|
|
update Changelog
|
|
58c2577a
|
2013-11-13T16:55:36
|
|
This enshrines the current testsuite practice of using ffi_arg for
returned values. It would be reasonable and logical to use the actual
return argument type as passed to ffi_prep_cif, but this would mean
changing a large number of tests that use ffi_arg and all backends
that write results to an ffi_arg.
|
|
8af42f99
|
2013-11-13T16:40:28
|
|
Respect HAVE_ALLOCA_H
|
|
2f5b7ce5
|
2013-11-09T06:16:32
|
|
UltraSPARC IIi fix. Update README and build configury.
|
|
becd7544
|
2013-11-06T06:43:49
|
|
Align the stack pointer to 16-bytes.
|
|
05c31093
|
2013-11-06T06:40:58
|
|
Mark executable as not requiring executable stack.
|
|
cf6bf981
|
2013-11-02T17:23:59
|
|
Fix up docs
|
|
c2422174
|
2013-11-02T14:08:23
|
|
Merge pull request #45 from foss-for-synopsys-dwc-arc-processors/arc_support
arc: Fix build error
|
|
f4b843f8
|
2013-11-02T17:01:15
|
|
Don't align stack for win32
|
|
d3372c54
|
2013-10-26T08:30:06
|
|
Fix N32 ABI issue for MIPS.
|
|
16b93a21
|
2013-10-15T15:33:59
|
|
Add nios2 port.
|
|
2f5626ce
|
2013-10-15T15:32:16
|
|
Fix testsuite bug
|
|
f64e4a86
|
2013-10-15T15:20:14
|
|
Fix many.c testcase for Aarch64
|
|
128cd1d2
|
2013-10-08T06:45:51
|
|
Fix spelling errors
|
|
d2fcbcdf
|
2013-10-08T06:27:46
|
|
Add m88k and VAX support. Update some configury bits.
|
|
d3d099b4
|
2013-07-02T16:11:38
|
|
little-endian ppc64 support
|
|
b082e150
|
2013-06-10T16:19:33
|
|
Add ARC support
This adds support for the ARC architecture to libffi. DesignWare ARC
is a family of processors from Synopsys, Inc.
This patch has been tested on a little-endian system and passes
the testsuite.
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
|
|
4750e3c6
|
2013-03-28T16:56:36
|
|
update changelog
|
|
12b1886d
|
2013-03-17T18:32:12
|
|
cygwin fix & updates for 3.0.13
|
|
d08124be
|
2013-03-17T18:32:12
|
|
cygwin fix & updates for 3.0.13
|
|
cb32c812
|
2013-03-17T09:27:55
|
|
Fix lib install dir
|
|
4acf0056
|
2013-03-16T08:18:45
|
|
Build fix for soft-float power targets
|
|
675c9839
|
2013-03-16T08:12:38
|
|
Documentation fix
|
|
8a286f57
|
2013-03-16T08:01:19
|
|
Fix for m68000 systems
|
|
d9dd417b
|
2013-03-16T08:01:19
|
|
Fix for m68000 systems
|
|
2fb527a0
|
2013-03-16T07:46:38
|
|
Add Meta processor support
|
|
211a9ebf
|
2013-03-16T04:24:40
|
|
Merge pull request #32 from alex/patch-1
Fix for a crasher due to misaligned stack on x86-32.
|
|
f308faf1
|
2013-02-11T14:25:13
|
|
Add moxie support. Release 3.0.12.
|
|
4ea22e54
|
2013-02-10T08:48:38
|
|
Update README
|
|
10e77227
|
2013-02-10T08:47:26
|
|
mend
|
|
70b11b47
|
2013-02-08T16:12:19
|
|
Fix small struct passing on ppc
|
|
63ba1fa7
|
2013-02-08T15:18:19
|
|
Remove xfail for arm*-*-*.
|
|
24fbca4c
|
2013-02-08T14:19:56
|
|
Fix typo
|
|
b0fa11cb
|
2013-02-08T14:17:13
|
|
More man page cleanup
|
|
8bd15d13
|
2013-02-08T13:56:37
|
|
Fix many.c testcase for ppc
|
|
7aab825c
|
2013-02-08T13:26:21
|
|
Add missing files to dist
|
|
cb03ea8f
|
2013-02-08T12:25:18
|
|
sparc v9 fixes for sun tools
|
|
35ee8d44
|
2013-02-08T07:12:41
|
|
Fix microblaze big-endian struct issue
|
|
9db7e1a9
|
2013-02-07T21:06:08
|
|
Fix botched sparc patch. Update version.
|
|
ce0138e6
|
2013-02-07T18:04:01
|
|
Update bug report address. rc2.
|
|
fd07c9e4
|
2013-02-07T18:00:36
|
|
Add cache flushing routine for sun compiler on sparc solaris 2.8
|
|
ed6ae950
|
2013-02-07T16:43:36
|
|
Add libtool-ldflags. Define toolexeclibdir for non-GCC builds.
|
|
ffef2e04
|
2013-02-07T15:47:01
|
|
x32 and libtool fixes
|
|
95eecebb
|
2013-02-07T15:32:46
|
|
Remove a.out cruft from dist
|
|
176aa9d2
|
2013-02-07T15:29:22
|
|
Fix GCC usage test and update README
|
|
f3a4f3fd
|
2013-02-07T09:57:20
|
|
Fixes for AIX xlc compiler.
|
|
522f8fef
|
2013-02-06T20:31:31
|
|
Fix man page. Clean out junk.
|
|
f7cd61e9
|
2013-02-06T17:38:04
|
|
Fix pkgconfig install bits
|
|
6a790129
|
2013-02-06T17:37:15
|
|
Work around LLVM ABI problem on x86-64
|
|
aeb8719a
|
2013-01-21T07:37:30
|
|
New microblaze support
|
|
20cae32b
|
2013-01-21T07:07:38
|
|
Xtensa support
|
|
f03eab08
|
2013-01-11T17:14:11
|
|
Remove obsolete inline test functions
|
|
05fbe1fa
|
2013-01-11T16:54:40
|
|
xlc compiler support
|
|
bff052d9
|
2013-01-11T10:24:32
|
|
32-bit x86 fix and more
|
|
cd41aeab
|
2013-01-10T17:25:45
|
|
Add compiler column to table
|
|
8bf987d4
|
2013-01-10T17:24:51
|
|
Fix for sunpro compiler on Solaris
|
|
13e2d7b9
|
2013-01-10T10:52:02
|
|
Handle both 32 and 64-bit x86 builds regardless of target triple
|
|
51415430
|
2013-01-10T07:35:53
|
|
Don't run EH tests with non-GNU compiler
|
|
56ba8d86
|
2013-01-10T07:25:10
|
|
Don't use warning checking macro with sun compiler
|
|
6a028cae
|
2013-01-10T01:19:43
|
|
Don't use GCCisms to define types when
+ building with the SUNPRO compiler.
|
|
2d9b3939
|
2013-01-09T21:14:54
|
|
Fix for closures with sunpro compiler
|
|
8308984e
|
2013-01-08T15:14:21
|
|
Make sure we're running dejagnu tests with the right compiler.
|