Mercurial > pub > dyncall > dyncall
diff ChangeLog @ 533:71c884e610f0
- integration of patches from Raphael Luba, Thekla, Inc.:
* integration of aggregate-by-value (struct, union) support patch for x64 (win and sysv)
* windows/x64 asm additions to specify how stack unwinds (help for debuggers, exception handling, etc.)
* see Changelog for details
- new calling convention modes for thiscalls (platform agnostic, was specific before)
* new signature character for platform agnostic thiscalls ('*' / DC_SIGCHAR_CC_THISCALL)
- dcCallF(), dcVCallF(), dcArgF() and dcVArgF():
* added support for aggregates-by-value (wasn't part of patch)
* change that those functions don't implicitly call dcReset() anymore, which was unflexible (breaking change)
- added macros to feature test implementation for aggregate-by-value and syscall support
- changed libdyncall_s.lib and libdyncallback_s.lib order in callback test makefiles, as some toolchains are picky about order
- doc:
* man page updates to describe aggregate interface
* manual overview changes to highlight platforms with aggregate-by-value support
- test/plain: replaced tests w/ old/stale sctruct interface with new aggregate one
author | Tassilo Philipp |
---|---|
date | Thu, 21 Apr 2022 13:35:47 +0200 |
parents | 02c57a13b839 |
children | 35498b479505 |
line wrap: on
line diff
--- a/ChangeLog Sat Apr 16 15:00:58 2022 +0200 +++ b/ChangeLog Thu Apr 21 13:35:47 2022 +0200 @@ -3,8 +3,37 @@ Version 1.4 (upcoming) +dyncall: + o aggregate-by-value (struct, union) support for x64 (win and sysv; thanks Raphael Luba!) + o new aggregate arg interface DCaggr replacing stale DCstruct (latter had shortcomings, was + mostly unused as it lacked stable implementations, didn't handle unions, ...) + o new calling convention modes for thiscalls (platform agnostic DC_CALL_C_DEFAULT_THIS, as well as + DC_CALL_C_X64_{WIN64,SYSV}_THIS (needed to handle C++ ABI rules for returning aggregates by value) + o new signature character for platform agnostic thiscalls ('*' / DC_SIGCHAR_CC_THISCALL) + o dcCallF(), dcVCallF(), dcArgF() and dcVArgF() don't implicitly call dcReset() + anymore, which was unflexible (breaking change) + o added macros to feature test implementation for aggregate-by-value and syscall support +dyncallback: + o aggregate-by-value (struct, union) support for x64 (win and sysv; thanks Raphael Luba!) + o new aggregate arg interface DCaggr dynload: o build fix for ReactOS with RosBE/cmake/mingw-make environment +tests: + o call_suite: simplified and extended to test also unsigned types, and _Bool + o callback_suite: refactored to be much more like call_suite test + o call_suite_aggrs: new test suite for calls with aggregate arguments and + return types (structs, unions and arrays as aggregate members) + o callback_suite_aggrs: new test suite, like call_suite_aggrs but for callbacks + o simplifications and refactoring to share more code (especially signature + and case generator) across test suites +doc: + o callconv section additions about aggregate-by-value passing for all platforms + o new Linux-Std-Base-specific PPC32/SysV section, as aggregate retval handling differs from + default SysV for such systems + o man page changes/additions to document new aggregate interfaces + o replaced API description in manual with references to the manpages, to + avoid duplication and keeping things in sync + o general clarifications and cleanup Version 1.3 (2021/12/17) @@ -327,7 +356,7 @@ target "config" modified, phony without dependencies to other builds o bugfix: GNU fastcall calling convention for float and double arguments was wrong (no skip of register) o update: x86win32* suite tests are built on cygwin now, added total result output - o signature types change: + o signature char (breaking) changes: C Strings: 'S' -> 'Z' long: 'l' -> 'j' long long: 'L' -> 'l'