|
8a0a4e25
|
2016-05-04T07:33:41
|
|
Update symbol versioning for ffi_get_struct_offsets
Given that the original symbol versioning patch has shipped
with gcc-6, it would be kind to keep that as a valid base ABI
and make subsequent changes to version 7.1.
|
|
c02c3414
|
2016-03-03T13:51:44
|
|
Use ELF symbol versioning
At the same time, we must bump the (major) ABI version. This needed to be
done anyway due to ABI breakage in the AArch64 port (see 12cf89ee and the
corresponding GCC PR70024).
|
|
14be9a1d
|
2016-05-04T06:45:05
|
|
Merge pull request #245 from rth7680/tromey-ffi-prep-cif-core-is-private
A rebase of #219
|
|
b50eabf4
|
2016-02-22T16:00:51
|
|
minor comment cleanup
This patch minor cleans up ffi.h.in comments in a minor way. It fixes
some typos and capitalizations, adds some periods, and reformats some
comments to a more GNU-ish style. It also fixes up some stale
documentation.
|
|
6c07077a
|
2016-02-21T20:08:21
|
|
Change ffi.h.in so that braces match
This is a tiny refactoring to make it so brace-matching works in
Emacs.
|
|
2fbc0369
|
2015-11-19T16:38:35
|
|
move ffi_prep_cif_core to ffi_common.h
|
|
1cea2737
|
2016-05-03T08:23:51
|
|
Merge pull request #231 from berkerpeksag/simplfy-oserror
Simplify error handling in mkdir_p()
|
|
48bfae1f
|
2016-05-02T20:58:57
|
|
Merge pull request #236 from andreas-schwab/master
Define FFI_SIZEOF_JAVA_RAW for aarch64 ILP32
|
|
6d871105
|
2016-05-01T11:02:40
|
|
Merge pull request #241 from rth7680/fix-win64
Fix win64 abi calling from unix64
|
|
e5843a3a
|
2016-04-15T16:10:08
|
|
x86: Fix calling convention for ffi_closure_win64_inner
Also enable testing for the cross-abi calls.
|
|
d0675197
|
2016-03-07T12:14:22
|
|
x86: Copy fix for clang .org from unix64.S
Clang doesn't understand .org with symbolic operands.
|
|
d76975db
|
2016-03-16T12:23:07
|
|
Define FFI_SIZEOF_JAVA_RAW for aarch64 ILP32
Like x32, aarch64 ILP32 needs to define FFI_SIZEOF_JAVA_RAW. This fixes
the java interpreter.
|
|
9de24a3f
|
2016-03-14T13:54:53
|
|
Merge pull request #212 from tromey/struct-layout
add ffi_get_struct_offsets
|
|
6aafb565
|
2016-03-05T08:30:31
|
|
Simplify error handling in mkdir_p()
|
|
ee718066
|
2016-02-22T20:15:40
|
|
Merge pull request #227 from tromey/fix-documentation-build
Fix documentation build
|
|
38a4d72c
|
2015-11-17T21:18:20
|
|
add ffi_get_struct_offsets
|
|
e59fb55e
|
2016-02-22T15:51:27
|
|
remove and ignore texinfo.tex
This file is provided by Automake
|
|
6dd5fd5a
|
2016-02-22T15:34:39
|
|
fix documentation building
An earlier patch added --disable-docs, but went too far, making it
impossible to build the docs.
It turns out that Automake seemingly has a bug preventing the
conditional build of an info file. So, this patch works around the
bug by putting the info_TEXINFOS rule into a new doc/Makefile.am.
Tested by building with and without --disable-docs and looking for the
existence of doc/libffi.info.
|
|
f2f234ae
|
2016-02-20T06:50:29
|
|
Merge pull request #190 from havardgraff/master
Add configure-option to disable building docs
|
|
49b95eda
|
2016-02-20T06:49:40
|
|
Merge pull request #194 from amodra/master
Correct powerpc sysv stack argument accounting
|
|
415723b4
|
2016-02-20T06:49:19
|
|
Merge pull request #104 from joshtriplett/efi64
Support the Windows/EFI calling convention on all x86-64 targets
|
|
7c27fcbe
|
2016-02-20T06:45:00
|
|
Merge pull request #199 from Pan7/master
Fix configuring msvc compiler
|
|
69143d06
|
2016-02-20T06:44:28
|
|
Merge pull request #197 from foxsen/mips_go_closure
Mips go closure support
|
|
755f1e64
|
2016-02-20T06:43:48
|
|
Merge pull request #193 from rth7680/fix-70
Test case from issue #70
|
|
183ee6a6
|
2016-02-20T06:43:28
|
|
Merge pull request #206 from edolnx/master
Add configure flag to disable multi-os-directory support
|
|
0bb71b52
|
2016-02-20T06:41:10
|
|
Merge pull request #211 from tromey/move-prep-types-out-of-ffi.h
ffi_prep_types is internal-only
|
|
296a283a
|
2016-02-20T06:40:21
|
|
Merge pull request #213 from tromey/remove-FFI_TYPE
remove FFI_TYPE typedef
|
|
e7c713a0
|
2016-02-20T06:40:03
|
|
Merge pull request #214 from tromey/document-enum-support
document (lack of) enum handling in libffi
|
|
79666abc
|
2016-02-20T06:38:40
|
|
Merge pull request #205 from filbranden/tool_opts
Fix dejagnu test support for --tool_opts
|
|
20c7c31c
|
2016-02-20T06:38:01
|
|
Merge pull request #225 from ehsan/safeseh
Don't clobber safeseh for msvcc.sh -clang-cl in 32-bit mode
|
|
89b76050
|
2015-10-19T15:33:23
|
|
Fix dejagnu test support for --tool_opts
Right now it concatenates it with the existing options and then appends
it to that list, fix it to simply append it as is, same as it is done
with the other variables.
Tested by running the following command which includes gcc options:
$ make check RUNTESTFLAGS="--tool_opts '-Werror'"
Without this patch, all the tests fail. With it, the test succeed.
Inspecting the logs shows that -Werror was indeed used when compiling
the test sources.
|
|
9c14cbfc
|
2016-01-28T16:57:18
|
|
Don't clobber safeseh for msvcc.sh -clang-cl in 32-bit mode
The commit fb25cd0 went a bit too far and removed safeseh
when -clang-cl was passed, but that's only needed in x86-64
which is already handled by the -m64 flag.
I discovered this when building Firefox x86 with clang-cl.
|
|
6ba2a49e
|
2016-01-02T20:03:41
|
|
Merge pull request #222 from freakboy3742/t181
Fixed #181 -- Corrected problems with ARMv7 build under iOS.
|
|
8005600a
|
2016-01-02T16:44:29
|
|
Merge pull request #224 from plicease/travis
update apt-get in travis
|
|
5e2b18a6
|
2016-01-02T07:56:05
|
|
update apt-get in travis
|
|
6a3a6acd
|
2015-12-21T00:37:37
|
|
Merge branch 'master' into t181
|
|
bc4fc07a
|
2015-12-21T00:37:06
|
|
Fixed #181 -- Corrected problems with ARMv7 build under iOS.
Based on a patch from @fealebenpae, with input from @SolaWing and @rth7680,
and testing from @superdump.
|
|
70594f7f
|
2015-12-18T10:24:38
|
|
Merge pull request #221 from tromey/document-closure-ffi_arg
Document closure ffi arg
|
|
6affad79
|
2015-12-17T16:58:10
|
|
correctly document closure return promotion
|
|
8a7cdeb0
|
2015-12-17T16:51:32
|
|
fix formatting of ffi_prep_closure_loc arguments
|
|
f45e9e35
|
2015-11-19T15:21:14
|
|
document (lack of) enum handling in libffi
|
|
4805bf9c
|
2015-11-19T14:17:42
|
|
remove FFI_TYPE typedef
|
|
8bec5ca2
|
2015-11-11T21:34:43
|
|
ffi_prep_types is internal-only
|
|
88deacdd
|
2015-11-15T08:39:17
|
|
speling fix
|
|
5973dca5
|
2015-11-15T08:36:48
|
|
Merge pull request #209 from tromey/documentation-updates
documentation fixes
|
|
2a988c44
|
2015-11-15T08:33:46
|
|
Merge pull request #207 from tromey/deprecate-ffi-prep-closure
mark ffi_prep_closure as deprecated
|
|
473bcbca
|
2015-11-07T12:01:06
|
|
documentation fixes
Fixes #78. Documentation for #33 and #35, but no fix.
|
|
ff33ddd1
|
2015-11-07T11:45:04
|
|
mark ffi_prep_closure as deprecated
|
|
877ea9bf
|
2015-10-29T22:50:42
|
|
Add configure flag to disable multi-os-directory support
In some environments, installing the library to GCC's
multi-os-directory is not perferable. This patch adds a switch
to configure "--disable-multi-os-directory" which will disable
that check, typically falling back to ${libdir} unless
cross-compiling.
Original patch was written by Stewart Brodie, and was found at
https://sourceware.org/ml/libffi-discuss/2013/msg00144.html
I've just updated it to work with the current version.
|
|
4cdedc27
|
2015-07-25T14:29:15
|
|
Tidy call.exp test collection
Commit c952a92e20aa6013d8202d0b3fa1d87838c83054 moved all of
the complex tests to libffi.complex, but failed to remove the
anti-globbing from libffi.call.
|
|
609db2fb
|
2015-07-25T12:42:04
|
|
Test case from Issue #70
|
|
e9de7e35
|
2015-10-11T10:54:50
|
|
Merge pull request #202 from tromey/note-prep-cif-var-usage
document that there must be ntotalargs types
|
|
d19b6cc7
|
2015-10-11T10:54:22
|
|
Merge pull request #201 from tromey/fix-texinfo-buglet
Add missing "@" to @var{}
|
|
0ebde2d2
|
2015-10-06T11:42:43
|
|
document that there must be ntotalargs types
|
|
36f3fb91
|
2015-10-05T10:20:05
|
|
Add missing "@" to @var{}
|
|
e0612439
|
2015-09-14T08:25:09
|
|
Fix configuring msvc compiler
|
|
505346e1
|
2015-08-26T09:57:10
|
|
fix type error in unwind code
|
|
5953c66b
|
2015-08-20T20:28:13
|
|
add unwind infor for *go_closure;
reorder the labels to make thing more clear
|
|
f0ecd5d4
|
2015-08-11T12:47:36
|
|
fix O32 stack unwind code
add missing 1: label
|
|
6f0201c8
|
2015-08-04T18:25:34
|
|
various fixes for go closure support. Now all n64 tests passed.
|
|
697dd4e8
|
2015-08-04T12:53:33
|
|
add support for go closure support on mips
|
|
43fc5bca
|
2015-08-03T23:34:05
|
|
Correct powerpc sysv stack argument accounting
ppc32 starts using the stack for integer arg passing when we run out
of integer arg passing registers. Similarly, we start using the stack
for floating point args when we run out of floating point registers.
The decision on where an integer arg goes does not depend on number of
floating point args, nor does the decision on where a floating point
arg goes depend on number of integer args. Alignment of stack args
also simply depends on number of stack args.
This patch untangles the horrible mess we had, with intarg_count being
wrongly used to count both integer args and stack words.
* src/powerpc/ffi_sysv.c (ffi_prep_cif_sysv_core): Count fprs,
gprs, and stack words separately.
(ffi_prep_args_SYSV): Similarly.
|
|
6de51f3e
|
2015-07-26T16:23:55
|
|
src/x86/ffiw64.c: Don't assign a "char *" to an "unsigned char *"
Declare a local variable to match the type of the struct field assigned
to it, rather than adding unsigned to the type. Fixes a -Wpointer-sign
warning.
|
|
eaa59755
|
2015-07-26T17:17:16
|
|
src/x86/win64.S: Handle name mangling and PIC
Move the macros from unix64.S into a shared header asmnames.h and use
them in win64.S too.
|
|
1f6b5a91
|
2015-07-26T16:27:34
|
|
Support the WIN64/EFI64 calling convention on all X86_64 platforms
Add a new calling convention FFI_EFI64, alias FFI_WIN64, on all X86_64
platforms. This allows libffi compiled on a 64-bit x86 platform to call
EFI functions.
Compile in ffiw64.c and win64.S on all X86_64 platforms. When compiled
for a platform other than X86_WIN64, ffiw64.c suffixes its functions
with _efi64, to avoid conflict with the platform's actual
implementations of those functions.
|
|
c8e82d9f
|
2015-07-26T16:18:57
|
|
src/x86/win64.S: Support compiling on non-WIN64 platforms
Non-WIN64 versions of the GNU assembler don't support the .seh_*
directives for structured exception handling, so wrap them in a macro
that compiles to nothing.
Handle the registers used for the non-Windows x86-64 calling convention
when on a non-Windows platform. Distinguish between cases that should
refer to the native argument registers (defined as arg0, arg1, arg2, and
arg3) and cases that should always refer to the Windows argument
registers.
|
|
fa7a2571
|
2015-05-12T10:45:13
|
|
Add configure-option to disable building docs
|
|
e3d2812c
|
2015-04-25T19:03:03
|
|
Modified arm/sysv.S to remove directives not allowed by clang.
|
|
17ffc365
|
2015-03-29T21:38:26
|
|
Merge pull request #185 from freakboy3742/t184
Fixed #184 -- Corrected source file references in Darwin source generator tool.
|
|
173757ce
|
2015-03-29T21:38:12
|
|
Merge pull request #186 from freakboy3742/gitignore
Added generated source file to .gitignore.
|
|
dd9e4c8d
|
2015-03-13T08:03:13
|
|
Added generated source file to .gitignore.
|
|
a5b3eaa2
|
2015-03-13T07:59:11
|
|
Fixed #184 -- Corrected file references in Darwin source generator tool.
|
|
f5ec6279
|
2015-03-04T13:58:04
|
|
Merge pull request #178 from rth7680/aa64-ilp32
aarch64: Handle ILP32 ABI
|
|
95df3791
|
2015-02-11T08:31:48
|
|
aarch64: Handle ILP32 ABI
|
|
06747d31
|
2015-01-29T07:22:23
|
|
Merge pull request #176 from 0-wiz-0/master
Handle NetBSD/powerpc the same as FreeBSD and OpenBSD.
|
|
6c535775
|
2015-01-29T12:32:28
|
|
Handle NetBSD/powerpc the same as FreeBSD and OpenBSD.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
|
|
db1b34b7
|
2015-01-28T18:08:06
|
|
Remove incomplete sentence
|
|
56036a6b
|
2015-01-28T18:03:57
|
|
Merge pull request #175 from rth7680/sparc
sparc: Re-introduce hand-written unwind info
|
|
035715b3
|
2015-01-28T18:03:06
|
|
Merge pull request #174 from rth7680/fbsd
configure: Run HAVE_AS_X86_PCREL for all X86 targets
|
|
2104b2a4
|
2015-01-26T12:43:57
|
|
sparc: Re-introduce hand-written unwind info
Fixes the build with the Solaris assembler.
|
|
b0e97963
|
2015-01-27T22:10:12
|
|
configure: Run HAVE_AS_X86_PCREL for all X86 targets
|
|
31a61853
|
2015-01-21T05:55:47
|
|
Merge pull request #170 from fealebenpae/aarch64-trampoline-table
Support closures on ARM64 iOS
|
|
d6675c16
|
2015-01-21T05:53:21
|
|
Merge pull request #172 from rth7680/fixes
x86: Fix cygwin32 build
|
|
3ac1610a
|
2015-01-19T20:48:40
|
|
x86: Fix cygwin32 build
The section syntax is just that little bit different.
|
|
a25a46a7
|
2015-01-16T17:32:07
|
|
Merge pull request #171 from rth7680/fixes
Fixes from mainline gcc
|
|
1ad0b171
|
2015-01-16T13:30:05
|
|
sparc: Also mark the return address in unwind info
|
|
d68c8aed
|
2015-01-16T11:40:33
|
|
sparc: Solaris fixes, part 2
/bin/as seems to only understand single-digit labels
/bin/as knows nothing about .rept/.endr
|
|
b740ab7c
|
2015-01-16T11:32:23
|
|
sparc: Solaris fixes
* /bin/as requires .type fn,#function instead of @function.
* /bin/as doesn't support .macro/.endm. I'm using preprocessor macros
instead to implement E in src/sparc/v[89].S.
|
|
f1560b7b
|
2015-01-16T11:31:37
|
|
x86: Solaris fixes
* Solaris/x86 /bin/as doesn't support .org, so I've just disabled the
uses in src/x86/{sysv, unix64}.S, as on Darwin.
* Solaris/x86 needs to use EH_FRAME_FLAGS so manually and compiler
generated .eh_frame sections match, otherwise libffi.so fails to link:
* Solaris/x86 /bin/as has different COMDAT syntax; I've disabled it for
the moment.
|
|
53636634
|
2015-01-16T15:19:38
|
|
aarch64: implement the trampoline table workaround for ffi closures on Apple systems
This is a direct copy/paste port of the ARM code, with changes because of Aarch64 pc-relative addressing restrictions.
|
|
05e65b4e
|
2015-01-16T15:18:04
|
|
aarch64: rewrite range syntax into list to appease Clang
Clang's assembler in Xcode 6 appears to choke when the operand of st4 is a range, but is happy with a list.
|
|
5cd411ad
|
2015-01-13T15:44:03
|
|
New test case for old aarch64 bug
|
|
e46842b4
|
2015-01-13T07:23:48
|
|
Remove extra brackets in configure.host
This table is no longer in configure.ac, needing
protection from m4.
|
|
f27c4e46
|
2015-01-13T07:22:07
|
|
x86: Fix thinko in ffi_raw_call
Missed structure initialization for raw path.
Apparently there are no tests for this outside gcc.
|
|
c82cc159
|
2015-01-10T09:25:26
|
|
Merge pull request #166 from chevah/master
Fix expr error in Solaris 10 when using gcc.
|
|
1c61e73a
|
2015-01-10T09:23:30
|
|
Merge pull request #165 from rth7680/pcc
Support PCC as producer and consumer
|
|
dd0b59a5
|
2015-01-10T09:22:55
|
|
Merge pull request #164 from rth7680/darwin
Fix build on darwin
|
|
9131039c
|
2015-01-10T09:22:42
|
|
Merge pull request #160 from nobu/msvc-no-complex
x86: MSVC does not support Complex type
|
|
4ca2262a
|
2015-01-10T09:21:37
|
|
Merge pull request #159 from nobu/fix-void-arith
x86: Fix void pointer arithmetic
|
|
e1a5ddb3
|
2015-01-07T17:51:07
|
|
Fix expr error in Solaris 10 when using gcc.
|