Moritz Angermann
19ab448d84
Support -ios triple
...
Autoconf hasn’t had an update since 2014, and it doesn’t look like it will soon[1]
This updates config.{guess,sub}
It adds support for e.g. `-ios`, which allows to have targets like `aarch64-apple-ios`.
It basically does exactly what the config.guess script says:
> It is advised that you download the most up to date version of the config scripts from
The configure.ac script has been updated to relax `*-apple-darwin*` to `*-apple-*`.
Similarly the `.gitignore` and `autogen.sh` needed to be updated to respect the
newer `config.{sub,guess}`
—
[1]: http://lists.gnu.org/archive/html/autoconf/2016-07/msg00017.html
2017-05-16 08:58:11 +08:00
Tom Tromey
c0cc9f1df9
Merge pull request #302 from gpakosz/align-macros
...
Prefix ALIGN macros with FFI_
2017-05-08 15:20:39 -06:00
Gregory Pakosz
bd72848c7a
Prefix ALIGN macros with FFI_
2017-04-27 13:22:28 +02:00
ksjogo
7d504f7a8e
update for xcode 8.3
2017-03-30 13:32:58 +02:00
Ole André Vadla Ravnås
57d8ff044c
Simplify iOS trampoline table allocation
...
By using VM_FLAGS_OVERWRITE there is no need for speculatively
allocating on a page we just deallocated. This approach eliminates the
race-condition and gets rid of the retry logic.
2017-03-30 13:30:50 +02:00
ksjogo
7f558a9ba4
set ios deployment target to 7.0
2017-03-30 13:26:15 +02:00
ksjogo
e76fa94b6e
fix ltmain.sh in xcode builds
2017-03-30 13:26:15 +02:00
ksjogo
22b2fd6f18
add valid architectures
2017-03-30 13:26:15 +02:00
Johannes Goslar
0040694505
Update Xcodeproj
...
Include all currently relevent files.
Call autogen is build script.
Fix compiler settings.
Fix mach include.
2017-03-30 13:26:15 +02:00
Anthony Green
b841ae70a0
remove stray quote
2017-03-19 07:42:09 -04:00
Anthony Green
a94c999ba0
Handle fastcall declaration differently for some Microsoft compilers
2017-03-19 07:36:07 -04:00
Anthony Green
69963d39ab
We don't support 32-bit builds with the Microsoft toolchain
2017-03-19 07:33:39 -04:00
Anthony Green
073bc9d50c
Enable appveyor ci support
2017-03-19 07:25:24 -04:00
Anthony Green
a0b14eea2b
Merge pull request #291 from ramon-garcia/visual-studio-build
...
Build with Visual C++ (64 bits)
2017-03-17 09:20:40 -04:00
Anthony Green
fa5a0fe2c6
Merge pull request #238 from KubaKaszycki/master
...
Update README with a new port
2017-03-16 07:50:07 -04:00
Anthony Green
5b91bbd388
Merge pull request #288 from yan12125/std-includedir
...
Install public headers in the standard path
2017-03-16 00:40:58 -04:00
Anthony Green
d754c510f1
Merge pull request #299 from matijaskala/patch-1
...
detect other x32 hosts
2017-03-16 00:39:07 -04:00
Anthony Green
ebe7f447ab
Remove osx testing. gcc was symlinked to clang. dejagnu c++ tests fail with clang.
2017-03-16 00:36:10 -04:00
Anthony Green
c9c2aa2461
Revert previous two changes. clang/MacOS problem can only be solved within dejagnu.
2017-03-15 09:58:39 -04:00
Anthony Green
5a8fca9405
Fix typo
2017-03-15 09:52:39 -04:00
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
Matija Skala
41185b565f
detect other x32 hosts
...
primarily x86_64-pc-linux-muslx32
while at it, add x86_64-x32-pc-linux-{gnu,musl} as well
2017-03-15 12:50:41 +01: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
5e4fcdccb3
Simplify iOS trampoline table allocation
...
By using VM_FLAGS_OVERWRITE there is no need for speculatively
allocating on a page we just deallocated. This approach eliminates the
race-condition and gets rid of the retry logic.
2017-03-15 01:43:11 +01: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
Ramón García Fernández
1e0d107b4b
Modify configure.host to detect compilation with Microsoft Visual C++ and use assembly with Intel syntax in that case
2017-01-08 20:34:44 +01:00
Yen Chi Hsuan
982b89c01a
Install public headers in the standard path
2016-11-13 19:20:53 +08: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
s1341
ed8488345e
arm: Fix cache flushing on QNX
...
Use `msync()` directly as `__clear_cache()` is broken in the
qnx650_gcc4.8.3 toolchain.
2016-08-10 17:09:17 +02: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