Anthony Green
5b10a01981
Work around dejagnu/clang problems
2017-03-15 09:34:01 -04:00
Anthony Green
b675125807
Require sudo for installing packages
2017-03-15 08:54:52 -04:00
Richard Henderson
6e2e041b6d
Merge pull request #297 from frida/fix/error-path
...
Fix error path so mutex is unlocked before returning
2017-03-14 19:37:45 -07:00
Ole André Vadla Ravnås
d42ce7b95c
Fix error path so mutex is unlocked before returning
...
In the unusual case where ffi_trampoline_table_alloc() fails.
2017-03-15 01:27:43 +01:00
Tom Tromey
dabbd14566
Merge pull request #295 from terrillmoore/patch-1
...
Correct typos in libffi.texi
2017-02-27 21:10:00 -07:00
Terry Moore
6caabd198e
Correct typos in libffi.texi
...
One "it's" should be "its", and one "is" should be "in".
2017-02-26 15:06:53 -05:00
Anthony Green
60e4250a77
make executable
2016-09-04 09:34:18 -04:00
Anthony Green
c3caf38895
Update travis to test linux 32/64 and osx with a mix of gcc and clang
2016-09-04 09:21:18 -04:00
Anthony Green
c5b408ee78
xfail the unwindtest for osx as per issue #279
2016-09-04 09:17:46 -04:00
Richard Henderson
256ce51c40
Merge pull request #273 from wbx-github/master
...
m68k: support ISA-A Coldfire CPUs
2016-09-01 13:54:51 -07:00
Richard Henderson
2ded2a4f49
Merge pull request #272 from yousong/mips64-soft-float
...
Mips64 soft float
2016-09-01 13:30:45 -07:00
Tom Tromey
408c9c7d5a
Merge pull request #274 from dr-hannibal/ykolerov-unused
...
ARC: Remove unused variable
2016-08-23 11:32:17 -06:00
Yuriy Kolerov
b545ff81f5
ARC: Remove unused variable
...
Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com >
2016-08-23 20:23:37 +03:00
Waldemar Brodkorb
52a11f6d91
m68k: support ISA-A Coldfire CPUs
...
Fix compilation for m68k/coldfire CPUs like mcf5208.
Signed-off-by: Thorsten Glaser <tg@mirbsd.de >
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org >
2016-08-20 01:05:32 +02:00
Yousong Zhou
e247b562ac
doc: fix typo
...
Name of last argument to ffi_get_struct_offsets is `offsets`, not `sizes`
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com >
2016-08-15 17:36:02 +08:00
Yousong Zhou
7a0d2c83bf
mips: fix MIPS softfloat build issue
...
The patch for o32.S is taken from OpenWrt packages repo 3a7a4bf "libffi:
fix MIPS softfloat build issue with current binutils"
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com >
2016-08-15 15:14:54 +08:00
Tom Tromey
06d7c5190e
Merge pull request #269 from frida/fix/aarch64-variadic-closures-on-ios
...
aarch64: Fix handling of variadic closures on iOS
2016-08-10 15:06:16 -06:00
Tom Tromey
aa7ed78c0e
Merge pull request #268 from frida/fix/aarch64-large-aggregates
...
aarch64: Fix handling of aggregates larger than 16 bytes
2016-08-10 15:03:37 -06:00
Ole André Vadla Ravnås
4da814b18a
aarch64: Fix handling of aggregates larger than 16 bytes
...
Instead of allocating stack space for a pointer we would allocate stack
space for the actual aggregate size.
2016-08-10 22:48:09 +02:00
Tom Tromey
1daa787999
Merge pull request #270 from frida/fix/aarch64-warnings
...
Fix aarch64 warnings
2016-08-10 14:31:09 -06:00
Ole André Vadla Ravnås
5e9ac7e252
aarch64: Fix warning about unused function on iOS
2016-08-10 17:07:17 +02:00
Ole André Vadla Ravnås
4d1f11f6a9
aarch64: Fix operand size warning reported by Clang
2016-08-10 17:07:11 +02:00
Ole André Vadla Ravnås
301166b11e
aarch64: Fix handling of variadic closures on iOS
2016-08-10 17:05:00 +02:00
Tom Tromey
f03ba20328
Merge pull request #266 from dr-hannibal/arc-pthread
...
Make testing easier outside of build directory and especially for ARC
2016-08-02 10:23:25 -06:00
Yuriy Kolerov
ef8be84de5
Do not use fabsl() in float2.c test
...
Some targets may support long double variables but in the same
time may lack support of long double functions like fabsl().
Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com >
2016-07-29 21:05:22 +03:00
Yuriy Kolerov
f3201733d5
Fix output expectations in cls_dbls_struct.c test
...
This test with invalid output expectations may fail on some targets
(e.g. ARC processors).
Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com >
2016-07-29 19:18:41 +03:00
Yuriy Kolerov
f74ea2dc79
Allow setting an arbitary value for blddirffi in testsuite
...
It is useful when tests are executed not from build directory. So
the path of the build directory may be passed through site.exp or
runtest.
Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com >
2016-07-28 21:34:06 +03:00
Yuriy Kolerov
31362d785e
ARC: Link tests with pthread library
...
Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com >
2016-07-28 18:48:23 +03:00
Richard Henderson
40e4063ab4
Merge pull request #261 from tromey/fix-260
...
Don't dereference "ecif" before NULL check
2016-07-07 23:11:38 -07:00
Tom Tromey
cf4b2a5041
Don't dereference "ecif" before NULL check
...
Fixes #260
2016-06-17 10:09:44 +01:00
Richard Henderson
c0829e6284
Merge pull request #259 from rth7680/master
...
Mark win64.S with GNU-stack note
2016-06-05 15:05:21 -07:00
Richard Henderson
794a54d4a6
Mark win64.S with GNU-stack note
2016-06-05 14:57:00 -07:00
Richard Henderson
96d9bf4b55
Merge pull request #253 from iains/darwin-build
...
Some Darwin build fixes
2016-06-03 23:04:56 -07:00
Iain Sandoe
52fbd12dca
[Darwin-ppc, build] Fixes for clang build.
...
clang is experimental on powerpc-darwin, but the changes are appropriate to cctools as as well.
Use the 'official' simplified cmpwi insn, rather than the implied one accepted by cctools.
Do not re-use a set value.
2016-05-26 09:06:35 +01:00
Iain Sandoe
92810b4bc1
[Darwin-x86, build] Fix up label prefixes, remove .purgem
...
Darwin uses a label prefix of _.
cctools assembler will not accept .purgem as a directive.
2016-05-26 09:06:35 +01:00
Iain Sandoe
30b3440cfd
[Darwin, configure] Allow configure to work for <arch>-*-darwin.
...
The exec configury is appropriate for all current targets (including using older tools on them).
2016-05-26 08:55:04 +01:00
Tom Tromey
02089a1b5c
Merge pull request #237 from tschwinge/libffi_feature_test
...
Simplify/fix libffi_feature_test
2016-05-23 09:58:51 -06:00
Richard Henderson
5d0365c605
Merge pull request #251 from berkerpeksag/delete-test-define
...
Remove unused FFI_CLOSURE_TEST
2016-05-19 09:35:38 -07:00
Berker Peksag
74b3f52014
Remove unused FFI_CLOSURE_TEST
...
It was here since the first commit c6dddbd (warning: huge diff) and
it wasn't defined by the configure script. It was probably used
manually during development.
2016-05-19 18:05:36 +03:00
Tom Tromey
584a140e75
Merge pull request #248 from berkerpeksag/patch-1
...
Delete empty env in .travis.yml
2016-05-19 06:36:38 -06:00
Berker Peksag
b3496dedbb
Delete empty env in .travis.yml
2016-05-19 10:53:07 +03:00
Richard Henderson
c61775497e
Merge pull request #247 from rth7680/symver
...
Add parent to symbol version LIBFFI_BASE_7.1
2016-05-18 11:10:33 -07:00
Richard Henderson
33d9a31d34
Add parent to symbol version LIBFFI_BASE_7.1
2016-05-18 11:01:55 -07:00
Richard Henderson
9edaa695c5
Merge pull request #230 from rth7680/symver
...
Use ELF symbol versioning
2016-05-18 10:56:19 -07:00
Tom Tromey
0969a1c1b3
Merge pull request #232 from berkerpeksag/signcompare
...
Fix -Wsign-compare warnings in x86/ffi64.c
2016-05-18 10:09:28 -06:00
Tom Tromey
571b1ca627
Merge pull request #233 from berkerpeksag/mremap
...
Define _GNU_SOURCE on Linux for mremap()
2016-05-18 10:08:59 -06:00
Tom Tromey
069d2e4e16
Merge pull request #246 from berkerpeksag/update-github-links
...
Update project URLs to use libffi/libffi
2016-05-18 10:07:31 -06:00
Berker Peksag
1b4f5ee6a4
Update project URLs to use libffi/libffi
2016-05-18 11:12:58 +03:00
Berker Peksag
1e82e1cda4
Define _GNU_SOURCE on Linux for mremap()
...
This was committed to CPython's libffi copy in
https://bugs.python.org/issue10309
mremap() documentation says _GNU_SOURCE needs to
be defined in order to use mremap(): see the
synopsis section at http://linux.die.net/man/2/mremap
Original commit: https://hg.python.org/cpython/rev/9986fff720a2
Original patch was written by Hallvard B Furuseth.
2016-05-18 10:42:38 +03:00
Berker Peksag
4a677a425c
Fix -Wsign-compare warnings in x86/ffi64.c
...
This was originally reported on the Python tracker:
httpa://bugs.python.org/issue23958
The original patch was written by Steve R. Hastings.
I've updated it to current master of libffi.
2016-05-18 10:35:20 +03:00