src/arm


Log

Author Commit Date CI Message
Richard Henderson ab83cbb9 2014-10-29T14:38:42 arm: Add support for Go closures
Richard Henderson 6fa617da 2014-10-21T11:27:11 arm: Add argument space for the hidden struct return pointer This should have been failing all along, but it's only exposed by the complex_int test case.
Richard Henderson a529bec2 2014-10-21T11:26:59 arm: Add support for complex types
Richard Henderson 5e88ebe6 2014-10-20T15:10:43 arm: Remove internal FFI_TYPE constants These have been replaced by the contents of internal.h.
Richard Henderson a4b785ea 2014-10-17T02:07:32 arm: Rewrite ffi_closure Move the push of the argument registers into ffi_closure_SYSV, reducing the size of the trampoline.
Richard Henderson e7f15f60 2014-10-17T01:27:16 arm: Rewrite ffi_call Use the trick to allocate the stack frame for ffi_call_SYSV within ffi_call itself.
Richard Henderson a74a3aad 2014-10-17T01:21:22 arm: Rewrite vfp_type_p Do not modify the ffi_type. Rearrange the tests so that we quickly eliminate structures that cannot match. Return an encoded value of element count and base type.
Richard Henderson 0d39b4bb 2014-10-17T01:02:52 arm: Deref ffi_put_arg arguments
Richard Henderson 57b24fb3 2014-10-17T00:53:21 arm: Deref ffi_align argument
Richard Henderson c129bea8 2014-10-15T17:28:53 arm: Reindent arm/ffi.c
Matthias Klose aaf3101b 2014-09-20T06:37:04 Fix -Werror=declaration-after-statement problem
Anthony Green 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
Zachary Waldowski 6eff9ff9 2013-12-30T17:48:10 Darwin/iOS: Improve unified syntax use for LLVM
Zachary Waldowski 994be3a5 2013-12-30T15:27:14 Darwin/iOS: Fix mis-typing of vfp_reg_free
Zachary Waldowski a8e0a835 2013-12-30T15:26:20 Darwin/ARM: Assert on NULL dereference This inhibits an analyzer warning by Clang on all platforms.
Zachary Waldowski 66469c38 2014-01-09T13:41:45 Darwin/ARM: Inhibit Clang previous prototype warnings
Anthony Green 3dc3f32c 2013-12-05T16:23:25 Undo iOS ARM64 changes.
Zachary Waldowski 953b6f14 2012-04-24T11:16:20 Darwin/iOS: More unified syntax support w/ Clang. Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com>
Zachary Waldowski c713a553 2012-04-24T10:25:29 Darwin/iOS: Simplify RETLDM arguments for LLVM 3.1 Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com>
Zachary Waldowski 16ba1b80 2012-04-11T23:26:04 Darwin: Silence Clang warnings.
Anthony Green 2f450822 2013-11-18T06:52:29 Clean up code to appease modern GCC compiler.
David Schneider 77f823e3 2013-11-13T14:26:57 stop trying to assing vfp regs once we are done with the registers
David Schneider 37067ec5 2013-11-12T19:49:01 mark all vfp registers as used when done. To avoid assigning registers the would fit, once arguments have been on the stack, we mark all registers as used once we do not find a free register for the first time.
Anthony Green c2422174 2013-11-02T14:08:23 Merge pull request #45 from foss-for-synopsys-dwc-arc-processors/arc_support arc: Fix build error
Anthony Green 128cd1d2 2013-10-08T06:45:51 Fix spelling errors
David Schneider 9708e7cf 2013-03-27T19:31:04 folow the ARM hard-float ABI in ffi_prep_incoming_args_VFP
David Schneider b4112098 2013-03-27T16:38:35 create separated versions of ffi_prep_incoming_args_* for SYSV and VFP ABIs. The different versions will be called depending on the value of cif->abi
David Schneider 3c160861 2013-03-26T19:24:47 extend ffi_prepare_args for FFI_VFP (hard-float ABI), fixing an issue with passing VFP arguments in VFP registers and the stack, while at the same time not using all core registers.
David Schneider 0f2ff2d4 2013-03-26T19:22:02 separate ARM ffi_prepare_args in a version implementing the simple SYSV calling convention and one for the hard-float calling convention
David Schneider 3a352b8a 2013-03-26T14:24:04 move the hardfloat specific argument copying code to the helper function
David Schneider 5df6b794 2013-03-26T14:02:21 extract setting of arguments to be passed to a helper function
David Schneider 7d1048c4 2013-03-26T11:33:33 extract code to align the argument storage pointer to a helper function
Zachary Waldowski 39e6a586 2012-04-11T22:39:46 More mac/ios build improvements
Zachary Waldowski 39dccddb 2012-04-05T12:32:41 Fix building with Clang for Darwin (OS X 10.6+ and iOS 4.0+)
Anthony Green e1539266 2012-03-30T00:40:18 ARM VFP fix for old toolchains
Anthony Green 8360bf1c 2012-02-23T07:01:13 Ensure that users don't include ffitarget.h directly
Anthony Green ff9454da 2011-11-12T17:18:51 Add David Gilbert's variadic function call support
Anthony Green 322052ce 2011-11-12T16:11:49 Fix arm wince alignment issue
Anthony Green 3d56106b 2011-11-12T07:20:24 Rebase
Anthony Green d992ac54 2011-07-29T17:32:53 Refresh from GCC
Anthony Green 09f8f310 2011-02-28T15:36:07 More AIX fixes. rc9.
Landon Fuller 3000dc23 2011-02-13T08:55:53 Merge remote branch 'upstream/master'
Anthony Green 1fbf9dc4 2011-02-13T08:06:39 Fix bad_abi test. rc5.
Landon Fuller 8195e0e1 2011-02-12T11:27:00 Fix symbol prefixes on Darwin.
Landon Fuller 28a00f61 2011-02-12T11:01:48 Apple assembler support; fixed most gas/ELF-isms.
Landon Fuller 7f2ea33a 2011-02-12T10:39:18 Replace RETLDM macro. The macro is incompatible with Apple's assembler; switch to a simple inline version.
Anthony Green 0cad4386 2011-02-09T06:11:46 Add ChangeLog entry. Fix copyright headers.
Anthony Green 1106229a 2011-02-08T19:20:09 Add iOS support
Anthony Green 0e584399 2011-02-08T07:52:40 Refresh from GCC
Anthony Green 2db72615 2010-11-21T10:50:56 Rebase
Landon Fuller f6ab3edc 2010-10-27T19:34:51 Include the license header in the generated output.
Landon Fuller cef61946 2010-10-27T13:59:30 Add missing copyright/license header.
Landon Fuller 83038cf2 2010-09-19T14:36:45 Implement FFI_EXEC_TRAMPOLINE_TABLE allocator for iOS/ARM. This provides working closure support on iOS/ARM devices where PROT_WRITE|PROT_EXEC is not permitted. The code passes basic smoke tests, but requires further review.
Landon Fuller b00ff3e9 2010-09-19T14:22:26 Rename the generated symbol
Landon Fuller 9e119644 2010-09-19T10:43:06 Add a hard-coded FFI_EXEC_TRAMPOLINE_TABLE arm implementation. This implements support for re-mapping a shared table of executable trampolines directly in front of a writable configuration page, working around PROT_WRITE restrictions for sandboxed applications on Apple's iOS. This implementation is for testing purposes; a proper allocator is still necessary, and ARM-specific code needs to be moved out of src/closures.c.
Landon Fuller f38364b3 2010-09-19T10:42:36 Fix symbol prefix for ffi_closure_SYSV_inner on Darwin.
Landon Fuller 36849e77 2010-09-19T09:35:04 Whitespace/comment fixes.
Landon Fuller 9af9291b 2010-09-19T08:52:33 Add the trampoline table generated by gentramp.sh
Landon Fuller 68ce0c38 2010-09-19T08:38:19 Add a shell script that generates the ARM trampoline page. This generates a page of 340 trampolines, aligned within one page. The trampolines use pc-relative addressing to reference config data (context, jump address) from a page placed directly prior to the trampoline page. This can be used on systems -- such as iOS -- that do not support writable, executable memory by remapping the executable page containing the trampolines directly above a newly allocated writable config page.
Landon Fuller 70150bdf 2010-09-18T16:38:03 Add missing UNWIND entry; disables .pad on non-EABI targets.
Landon Fuller 6b452baf 2010-09-18T16:21:32 Apple assembler support; fixed most gas/ELF-isms.
Landon Fuller 8ddac835 2010-09-18T15:38:06 Fix placement of the __APPLE__ macro.
Landon Fuller 69043d02 2010-09-18T15:32:08 Work-around libffi's FP ABI detection. On iOS, we must use the AAPCS floating point return value calling conventions. libffi's ARM implementation will only use these conventions if __SOFTFP__ is defined, which is not the case when GCC's -mfloat-abi defaults to 'softfp' instead of 'soft'. To work around this we manually define __SOFTFP__ for Apple platforms in the ARM-specific sysv.S. See also: http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/iPhoneOSABIReference/Introduction/Introduction.html http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042d/IHI0042D_aapcs.pdf
Anthony Green d14178be 2010-07-23T09:14:00 FFI_LAST_ABI fix
Anthony Green 3f5b1375 2010-07-12T14:39:18 rebase
Anthony Green 9dc9a293 2010-04-13T10:33:52 Rebase to latest GCC sources
Anthony Green 7b7a42f2 2010-01-12T09:14:14 Rebase from GCC
Anthony Green c3042afa 2010-01-01T08:08:02 Reset quilt patches post 3.0.9 merge with GCC
Anthony Green 0cfe60e9 2009-12-29T10:06:04 3.0.9rc12
Anthony Green 9458d88f 2009-12-26T07:02:27 Rebase from GCC
Anthony Green da11bece 2009-12-24T05:34:46 Release 3.0.9rc5
Anthony Green 115ab36f 2009-12-24T00:22:00 Update missing changes for 3.0.9r4.
Anthony Green c6dddbd0 2009-10-04T08:11:33 Initial commit