mirror of
https://github.com/partic2/libffi
synced 2026-11-11 02:27:19 +00:00
Refresh from GCC
This commit is contained in:
@@ -1,3 +1,38 @@
|
||||
2011-07-11 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* src/arm/ffi.c (FFI_INIT_TRAMPOLINE): Clear icache.
|
||||
|
||||
2011-06-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* testsuite/libffi.call/cls_double_va.c: Move PR number to comment.
|
||||
* testsuite/libffi.call/cls_longdouble_va.c: Likewise.
|
||||
|
||||
2011-06-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
PR libffi/46660
|
||||
* testsuite/libffi.call/cls_double_va.c: xfail dg-output on
|
||||
mips-sgi-irix6*.
|
||||
* testsuite/libffi.call/cls_longdouble_va.c: Likewise.
|
||||
|
||||
2011-06-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* testsuite/libffi.call/huge_struct.c (test_large_fn): Use PRIu8,
|
||||
PRId8 instead of %hhu, %hhd.
|
||||
* testsuite/libffi.call/ffitest.h [__alpha__ && __osf__] (PRId8,
|
||||
PRIu8): Define.
|
||||
[__sgi__] (PRId8, PRIu8): Define.
|
||||
|
||||
2011-04-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* src/alpha/osf.S (UA_SI, FDE_ENCODING, FDE_ENCODE, FDE_ARANGE):
|
||||
Define.
|
||||
Use them to handle ELF vs. ECOFF differences.
|
||||
[__osf__] (_GLOBAL__F_ffi_call_osf): Define.
|
||||
|
||||
2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
||||
2011-02-11 Anthony Green <green@moxielogic.com>
|
||||
|
||||
* libtool-version: Update.
|
||||
@@ -74,10 +109,6 @@
|
||||
* src/sparc/ffi.c (ffi_call): Make compatible with Solaris Studio
|
||||
aggregate return ABI.
|
||||
|
||||
2011-02-08 Ed <ed@kdtc.net>
|
||||
|
||||
* src/powerpc/asm.h: Fix grammar nit in comment.
|
||||
|
||||
2011-02-11 Anthony Green <green@moxielogic.com>
|
||||
|
||||
From Tom Honermann <tom.honermann@oracle.com>:
|
||||
@@ -87,10 +118,21 @@
|
||||
instructions.
|
||||
* src/powerpc/aix_closure.S: Declare .ffi_closure_helper_DARWIN.
|
||||
|
||||
2011-02-08 Ed <ed@kdtc.net>
|
||||
|
||||
* src/powerpc/asm.h: Fix grammar nit in comment.
|
||||
|
||||
2011-02-08 Uli Link <ul.mcamafia@linkitup.de>
|
||||
|
||||
* include/ffi.h.in (FFI_64_BIT_MAX): Define and use.
|
||||
|
||||
2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
PR libffi/46661
|
||||
* testsuite/libffi.call/cls_pointer.c (main): Cast void * to
|
||||
uintptr_t first.
|
||||
* testsuite/libffi.call/cls_pointer_stack.c (main): Likewise.
|
||||
|
||||
2011-02-08 Rafael Avila de Espindola <respindola@mozilla.com>
|
||||
|
||||
* configure.ac: Fix x86 test for pc related relocs.
|
||||
|
||||
@@ -556,12 +556,16 @@ ffi_closure_free (void *ptr)
|
||||
({ unsigned char *__tramp = (unsigned char*)(TRAMP); \
|
||||
unsigned int __fun = (unsigned int)(FUN); \
|
||||
unsigned int __ctx = (unsigned int)(CTX); \
|
||||
unsigned char *insns = (unsigned char *)(CTX); \
|
||||
*(unsigned int*) &__tramp[0] = 0xe92d000f; /* stmfd sp!, {r0-r3} */ \
|
||||
*(unsigned int*) &__tramp[4] = 0xe59f0000; /* ldr r0, [pc] */ \
|
||||
*(unsigned int*) &__tramp[8] = 0xe59ff000; /* ldr pc, [pc] */ \
|
||||
*(unsigned int*) &__tramp[12] = __ctx; \
|
||||
*(unsigned int*) &__tramp[16] = __fun; \
|
||||
__clear_cache((&__tramp[0]), (&__tramp[19])); \
|
||||
__clear_cache((&__tramp[0]), (&__tramp[19])); /* Clear data mapping. */ \
|
||||
__clear_cache(insns, insns + 3 * sizeof (unsigned int)); \
|
||||
/* Clear instruction \
|
||||
mapping. */ \
|
||||
})
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user