Mercurial > pub > dyncall > dyncall
annotate ChangeLog @ 358:30aae7371373
- extended signature with calling convention mode switches for fastcall (gnu), default, cdecl, stdcall, arm (arm), arm (thumb), syscall
- made formatted call (dcV?{Call,Arg}F) interface use those calling convention mode signature specifications to begin with
- extended callf testcode with one standard and one vararg call to test those cc mode switches
author | Tassilo Philipp |
---|---|
date | Mon, 13 Apr 2020 15:12:01 +0200 |
parents | 2f64957d6a46 |
children | 32736025371f |
rev | line source |
---|---|
0 | 1 This file lists bigger/noteworthy changes, only... |
2 | |
355 | 3 Version 1.2 (upcoming) |
358
30aae7371373
- extended signature with calling convention mode switches for fastcall (gnu), default, cdecl, stdcall, arm (arm), arm (thumb), syscall
Tassilo Philipp
parents:
356
diff
changeset
|
4 dyncall: |
30aae7371373
- extended signature with calling convention mode switches for fastcall (gnu), default, cdecl, stdcall, arm (arm), arm (thumb), syscall
Tassilo Philipp
parents:
356
diff
changeset
|
5 o extended signature with more chars for calling convention switching (only for modes |
30aae7371373
- extended signature with calling convention mode switches for fastcall (gnu), default, cdecl, stdcall, arm (arm), arm (thumb), syscall
Tassilo Philipp
parents:
356
diff
changeset
|
6 that coexist on a platform with other conventions) |
30aae7371373
- extended signature with calling convention mode switches for fastcall (gnu), default, cdecl, stdcall, arm (arm), arm (thumb), syscall
Tassilo Philipp
parents:
356
diff
changeset
|
7 o made "formatted" call interface use calling convention signature chars |
356
2f64957d6a46
- fix to dynload to build with musl libc (latter has dlinfo but not RTLD_SELF, so fallback to dl_iterate_phdr if on ELF targets)
Tassilo Philipp
parents:
355
diff
changeset
|
8 dynload: |
2f64957d6a46
- fix to dynload to build with musl libc (latter has dlinfo but not RTLD_SELF, so fallback to dl_iterate_phdr if on ELF targets)
Tassilo Philipp
parents:
355
diff
changeset
|
9 o fix to build with musl libc |
358
30aae7371373
- extended signature with calling convention mode switches for fastcall (gnu), default, cdecl, stdcall, arm (arm), arm (thumb), syscall
Tassilo Philipp
parents:
356
diff
changeset
|
10 tests: |
30aae7371373
- extended signature with calling convention mode switches for fastcall (gnu), default, cdecl, stdcall, arm (arm), arm (thumb), syscall
Tassilo Philipp
parents:
356
diff
changeset
|
11 o extended callf testcode with to test calling convention mode switch signature chars |
355 | 12 |
353 | 13 Version 1.1 (2020/01/11) |
302
d55f9d508074
- mips softfloat support for o32 callconv (calls and callbacks, little and big endian)
Tassilo Philipp
parents:
301
diff
changeset
|
14 dyncall: |
305 | 15 o support for soft-float MIPS o32 & n64 (big- and little-endian, each) |
339 | 16 o x64 System V syscall support |
302
d55f9d508074
- mips softfloat support for o32 callconv (calls and callbacks, little and big endian)
Tassilo Philipp
parents:
301
diff
changeset
|
17 dyncallback: |
305 | 18 o support for soft-float MIPS o32 & n64 (big- and little-endian, each) |
309
b51401bc4c37
- changelog about dynload UTF-8 support on windows
Tassilo Philipp
parents:
307
diff
changeset
|
19 dynload: |
b51401bc4c37
- changelog about dynload UTF-8 support on windows
Tassilo Philipp
parents:
307
diff
changeset
|
20 o added UTF-8 support for pathnames on windows |
314
b2e4e23d9953
- stop using dlinfo() on glibc platforms but use dl_iterate_phdr() instead, as former's implementation is nothing more than a fancy cast and thus dangerously assuming that every provided handle is valid
Tassilo Philipp
parents:
309
diff
changeset
|
21 o reliability/stability fix for dlGetLibraryPath() on glibc based platforms (avoiding |
b2e4e23d9953
- stop using dlinfo() on glibc platforms but use dl_iterate_phdr() instead, as former's implementation is nothing more than a fancy cast and thus dangerously assuming that every provided handle is valid
Tassilo Philipp
parents:
309
diff
changeset
|
22 internal use of glibc's bad impl of dlinfo() which doesn't do any error checking at all) |
320
85c80b0c021c
- Darwin/macos fix for dlGetLibraryPath() to correctly fail on bogus handles
Tassilo Philipp
parents:
314
diff
changeset
|
23 o Darwin/macos fix for dlGetLibraryPath() to correctly fail on bogus handles (did return |
85c80b0c021c
- Darwin/macos fix for dlGetLibraryPath() to correctly fail on bogus handles
Tassilo Philipp
parents:
314
diff
changeset
|
24 paths to random libraries under some circumstances, instead of returning an error) |
314
b2e4e23d9953
- stop using dlinfo() on glibc platforms but use dl_iterate_phdr() instead, as former's implementation is nothing more than a fancy cast and thus dangerously assuming that every provided handle is valid
Tassilo Philipp
parents:
309
diff
changeset
|
25 o support for dlGetLibraryPath() on glibc platforms with glibc vesions <= 2.3.3 |
320
85c80b0c021c
- Darwin/macos fix for dlGetLibraryPath() to correctly fail on bogus handles
Tassilo Philipp
parents:
314
diff
changeset
|
26 o dlGetLibraryPath() now accepts NULL as argument to return path to executable |
353 | 27 o dlLoadLibrary() on windows: no more auto-suffixing of the .dll file ext anymore, to be |
28 more in line with other platforms (not affecting OS specific library search behaviour) | |
301 | 29 doc: |
30 o more detail in support matrix for bi-endian platforms | |
332 | 31 o improvements/corrections to calling convention appendix |
32 o PPC64 calling convention description | |
336 | 33 o MIPS64/N32 calling convention description |
332 | 34 o man page additions for clarity |
309
b51401bc4c37
- changelog about dynload UTF-8 support on windows
Tassilo Philipp
parents:
307
diff
changeset
|
35 tests: |
b51401bc4c37
- changelog about dynload UTF-8 support on windows
Tassilo Philipp
parents:
307
diff
changeset
|
36 o dynload_plain test extended to test UTF-8 library paths |
332 | 37 o better output for plain test |
38 o better output and *nix fix for plain_c++ test | |
296
e6bd998b0308
- FBSD12-CURRENT/mipshf needs to be told explicitly to use -mhard_float (at least as of may 2018)
Tassilo Philipp
parents:
295
diff
changeset
|
39 buildsys: |
e6bd998b0308
- FBSD12-CURRENT/mipshf needs to be told explicitly to use -mhard_float (at least as of may 2018)
Tassilo Philipp
parents:
295
diff
changeset
|
40 o default ./configure: FreeBSD/mips*hf needed -mhard-float compiler flag set explicitly |
307
d2c8ea3ef2ed
better MacOS Mojave support in ./configure (Mojave dropped i386 builds)
Tassilo Philipp
parents:
305
diff
changeset
|
41 o better MacOS Mojave support in ./configure (Mojave dropped i386 builds) |
295 | 42 |
290
4e63c6411e59
- adjusted release date of r1.0 in changelog
Tassilo Philipp
parents:
280
diff
changeset
|
43 Version 1.0 (2018/04/23) |
79 | 44 dyncall: |
206 | 45 o PPC64 single-precision float fixes for more than 13 float args (thanks Masanori Mitsugi!) |
147 | 46 o fixed potential buffer overrun on ARM64 |
206 | 47 o error code handling (dcGetError) changes, flag is now cleared (work still underway) |
130 | 48 o MIPS n64 ellipsis call fixes |
147 | 49 o ARM32 armhf ellipsis call fixes |
175
00dd15cc5c87
- fixed ARM32-THUMB stack alignment issues (found on Cortex-m0, thanks Darren Whobrey!)
cslag
parents:
169
diff
changeset
|
50 o fixed ARM32-THUMB stack alignment issues (found on Cortex-m0, thanks Darren Whobrey!) |
147 | 51 o better C++ compiler support (for pointer conversions) |
79 | 52 dyncallback: |
206 | 53 o PPC64 single-precision float fixes for more than 13 float args (thanks Masanori Mitsugi!) |
135 | 54 o MIPS o32 (big- and little-endian), EABI (32 bit, little-endian) and n64 (big-endian) support |
197
53c42b1d9f8b
- sparc doc improvements for both, 32 and 64
Tassilo Philipp
parents:
185
diff
changeset
|
55 o SPARC32 (v7/v8) support |
53c42b1d9f8b
- sparc doc improvements for both, 32 and 64
Tassilo Philipp
parents:
185
diff
changeset
|
56 o SPARC64 (v9) support |
237 | 57 o PPC32 fixes for (old) Darwin/OS X systems |
185
a41bc98e101c
- impl. for allocwx stuff on POSIX-strict systems where there is no MAP_ANON for mmap()
Tassilo Philipp
parents:
175
diff
changeset
|
58 o POSIX compliance: fallback for wx alloc on systems that don't have mmap()'s MAP_ANON |
203
3999750fae28
- allocwx changes from last commit mentioned in Changelog and adapted testcode
Tassilo Philipp
parents:
197
diff
changeset
|
59 o allocated space used for thunk now always W^X (req. for e.g. OpenBSD >= 6.0) |
217 | 60 dynload: |
224 | 61 o major reliability/stability fixes for Mach-O dlSyms* functions to (thanks Stéphane Mons for help): |
62 better handle loading dylibs by symlink, relative path, random casing, etc. | |
63 fixes to symbol name lookups that used wrong offsets before | |
64 64-bit platform fixes (was broken on x64 and never supported on others) | |
217 | 65 o allowing Mach-O dlSyms* lib to be used standalone (consistent with ELF and PE impls now) |
224 | 66 o simplifications of implemention on Darwin, sharing parts with *nix implementation |
221 | 67 o potentially breaking change on macos/Darwin platforms: all functions now consistently accept or |
224 | 68 return symbol names as they would appear in C code, instead of the raw ones in object files |
247 | 69 o added new function dlGetLibraryPath, allowing lookups of path to library via handle |
169
2fa600ea50e7
- marking off solaris/sparc (32 bit) as completely supported (just tested sparc callbacks on solaris (with gnu toolchain, though), works)
cslag
parents:
159
diff
changeset
|
70 general: |
256
7520e2260097
- added to configure some detection on how to compile .s/.S with --noexecstack (or similar), as compilers' defaults are often insane
Tassilo Philipp
parents:
247
diff
changeset
|
71 o assembly code now built by explicitily asking for non-execstack, for safer/easier integration |
7520e2260097
- added to configure some detection on how to compile .s/.S with --noexecstack (or similar), as compilers' defaults are often insane
Tassilo Philipp
parents:
247
diff
changeset
|
72 into other projects/builds, where needed; needed b/c of questionable default behaviours of some |
185
a41bc98e101c
- impl. for allocwx stuff on POSIX-strict systems where there is no MAP_ANON for mmap()
Tassilo Philipp
parents:
175
diff
changeset
|
73 toolchains (thanks Thorsten Behrens for report and analysis) |
79 | 74 doc: |
75 o working html doc generation from TEX sources | |
197
53c42b1d9f8b
- sparc doc improvements for both, 32 and 64
Tassilo Philipp
parents:
185
diff
changeset
|
76 o SPARC32 (v7/v8) calling convention description |
53c42b1d9f8b
- sparc doc improvements for both, 32 and 64
Tassilo Philipp
parents:
185
diff
changeset
|
77 o SPARC64 (v9) calling convention description |
83
54930a037e8a
- PPC64 single-precision float fixes for more than 13 float args (thanks Masanori!)
cslag
parents:
80
diff
changeset
|
78 bindings: |
84 | 79 o better documentation, removed relative path dependencies, general cleanup |
80 o python: updated to latest signature format (was still on 0.1) | |
81 o java: rewritten (old version was never complete, anyways) | |
214 | 82 tests: |
83 o added new dynload_plain test covering basic use of all dynload functions | |
151 | 84 buildsys: |
85 o cmake: made to work on systems without C++ compiler (thanks Franklin Mathieu) | |
65 | 86 |
59 | 87 Version 0.9 (2015/12/31) |
0 | 88 dyncall: |
40 | 89 o ARM64 support (AAPCS64 on Linux & Apple's derived version on iOS) |
90 o armhf calling convention support for ARM32 | |
206 | 91 o PPC64 support, including syscalls (thanks Masanori Mitsugi!) |
0 | 92 o introduced dcArgF and dcVArgF for flexible/convenient argument binding (works like dcCallF/dcVCallF but without the function call) |
21 | 93 o using -fPIC by default for FreeBSD |
0 | 94 o PPC32 linux syscall support |
147 | 95 o fixed return value errors for ARM32 on some platforms (e.g. freebsd/arm32, nintendo ds); arm & thumb mode |
0 | 96 dyncallback: |
97 o ARM64 support (AAPCS64 on Linux, Apple's derived version on iOS) | |
40 | 98 o armhf calling convention support for ARM32 |
206 | 99 o PPC64 support (thanks Masanori Mitsugi!) |
0 | 100 o PPC32 System V support (Linux) |
101 o fix for PPC32 Darwin/OS X | |
102 o more intuitive specification of callback return type | |
103 doc: | |
104 o added ARM64 support info and calling convention documentation | |
64 | 105 o added ARM32 armhf section |
0 | 106 o added PPC64 support info |
107 o cleanup, brought all up to date, etc. | |
108 tests: | |
109 o callf test covers new argf interface | |
64 | 110 o several fixes to some test suites |
0 | 111 buildsys: |
112 o more flexible testsuite build and 'pack' target for convenience | |
113 o fixes/additions for OS X universal builds | |
114 o added iOS universal build support for armv7/arm64 | |
115 o helper script for generic .elf -> EBOOT.PBP creation for PSP | |
116 o Sun make fixes for C++ code in test suite | |
117 bindings: | |
118 o erldc: Erlang binding (thanks Erik!) | |
2 | 119 infrastructure: |
120 o moved to hg | |
83
54930a037e8a
- PPC64 single-precision float fixes for more than 13 float args (thanks Masanori!)
cslag
parents:
80
diff
changeset
|
121 o moved bindings to own repository |
0 | 122 |
40 | 123 Version 0.8 (2014/03/24) |
0 | 124 buildsys: |
125 o big simplification make-based build system, no more distinct GNU and BSD makefiles anymore | |
126 o new, much simpler ./configure for new make-based build-system | |
127 o support for in-source and out-of-source builds for make-based build systems | |
128 o made configure.bat guess x64 as target arch for x64 windows hosts | |
129 o based more sources on portasm generation | |
130 dyncall: | |
131 o fix for ARMv7 Thumb-2 code (tested on iPhone 4 CDMA / iOS 6.0.1) | |
79 | 132 o bugfixes for -O2 builds for SPARC-v9 and SPARC-v7 |
0 | 133 o new optimized call kernel for SPARC-v9 without conditionals |
130 | 134 o bigger refactoring and optimization of MIPS o32 |
0 | 135 o x64 optimizations |
136 dyncallback: | |
137 o added callback support for plan9 | |
138 o big cleanup, removal of duplicate files after introduction of portasm | |
139 o include path fixes for public facing APIs (removed relative paths) | |
140 doc: | |
141 o cleanup of manual and corrections | |
142 o added info about newly supported and/or tested platforms (e.g. FreeBSD on ARM) | |
143 o restructured folder layout for documentation | |
144 o added API doc for dyncallback and dynload | |
145 o added manpages for dyncallback and dynload | |
146 tests: | |
147 o added arm/thumb interwork test suite | |
148 bindings: | |
149 o godc: added bindings for Go | |
150 o rbdc: fixed and extended ruby bindings | |
151 o shdc: renamed shell binding to shdc and added feature to list shared-objects' symbols | |
152 | |
40 | 153 Version 0.7 (2012/01/02) |
0 | 154 architecture: |
79 | 155 o added subproject: portasm - portable (GNU AS,+Apple and MASM) assembly framework |
0 | 156 o added subproject: autovar - predefined macro framework (was dyncall_macros.h) |
157 o added support for Solaris and SunPro compiler for i386, x86_64, sparc and sparc64 | |
158 o improved auto-detection via preprocessor defines | |
159 dyncall updates: | |
160 o uses portasm (GNU,Apple,Microsoft) common sources for x86,x64,ppc32,arm32_arm | |
206 | 161 o added support for sparc (32-bit) (tested on linux/debian,openbsd,solaris) |
162 o added support for sparc (64-bit) (tested on linux/debian,openbsd,solaris) | |
0 | 163 o bug fixes for x64/win64 calling convention |
164 o added support for mingw32-w64 on x64 | |
165 o improved cdecl x86 calling convention: stack always 16 byte aligned | |
166 o updated API and initial support for structs (for x86/AMD64) | |
167 o initial support for syscalls on x86, added x86 int80h linux/bsd | |
168 o added Minix port (stable) | |
169 o optimized vector buffer for small type pushing | |
170 o minor fix for amd64/sysv: alignment to 32-byte | |
171 o bug fix for ppc32/sysv: ellipsis calls work now | |
172 o updated API, introduced DC_CALL_C_ELLIPSIS_VARARGS | |
173 o changed interface: dcMode does not reset internally anymore | |
174 dyncallback updates: | |
175 o uses portasm for x86,x64 | |
176 o added Solaris/x86/sunpro port (stable) | |
177 o added Minix port (unstable) | |
178 o callback support for Darwin/ppc32 | |
179 o updates source, uses relative includes | |
180 dynload updates: | |
181 o fixes for missing includes (dyncall_alloc.h) | |
182 o fixes for self-resolving symbols on windows | |
183 o removed Dbghelf.lib dependency | |
184 o bug fixes for cygwin/x86 | |
185 o fixes for beos/haiku | |
186 o no dependencies to libdyncall sources. | |
187 buildsys additions: | |
188 o added zero-config (BSD,GNU,SUN) make files (Makefile.embedded) | |
79 | 189 o added in/out-of-source configure2 w/ (BSD,GNU) make files (Makefile.generic) |
190 o added bootstrap lua script (download/build) | |
0 | 191 o Nmakefile: more tests included (resolve_self) |
192 o improved cross-compilation for iOS (upgrade to 4.3 sdk) | |
193 o darwin 8.0 support | |
194 o added 'install' support for Makefile.embedded | |
195 buildsys/gmake updates: | |
196 o added support for msvc/x64 tool-chain | |
197 o default settings for build-dir changed to '.' | |
198 o cleanup: removed top-level Make{Prolog,Epilog,Rules} files and updated all sub-projects and tests | |
199 o added support for DESTDIR staging installation | |
200 o added support for manual page installation | |
201 buildsys/cmake updates: | |
202 o updated find module scripts (see cmake/Modules) | |
203 o added support for using dyncall as sub-project (via *Config.cmake files) | |
204 see details in README.CMake | |
205 o fixes for msvc and ml | |
206 o fixes for CPack | |
207 o fixes for universal builds on Mac OS X | |
208 o supports SunPro with *.S files. | |
209 o added experimental 'dynMake' portable make-based build-system (not stable, yet) | |
210 documentation updates: | |
211 o added dyncallback documentation | |
79 | 212 o updated dyncall documentation |
0 | 213 o minor updates |
214 tests: | |
215 o added flexible test suite for calls (call_suite) based on Lua and C | |
216 o added syscall test | |
217 o updates to resolve-self test (adding additional link flags to export symbols) | |
79 | 218 o improved dir name portability (renamed plain_c++ -> plain_cxx) |
0 | 219 o renamed *.cpp -> *.cc files (OpenBSD/Sun make has no implicit rules for cpp) |
220 | |
40 | 221 Version 0.6 (2010/09/25) |
0 | 222 building: |
223 o new build systems: CMake and Plan9's mk | |
224 o buildsys/gmake tool chain update: pcc and iphone sdk | |
225 o x64 bugfix: added "-fPIC" even for static libs | |
79 | 226 dynload updates: |
0 | 227 o enum symbols update: Mach-O and Win64 (thanks Olivier) |
228 o numerous convenience changes to dynload interface (thanks Olivier) | |
229 o added support for resolving application images itself | |
230 dyncall updates: | |
231 o new platform support: arm/iphone (armv6), x86/Plan9 | |
130 | 232 o new MIPS calling conventions: o32, n64 (both endian models) |
0 | 233 o cleanup: unexported functions in MASM files, b/c export not needed (thanks Olivier) |
234 o interface update: added error reporting facility 'dcGetError' | |
235 o bugfix for ppc32/sysv: ellipsis calls were broken | |
79 | 236 o interface update: added new abstract mode for ellipsis calls (DC_CALL_C_ELLIPSIS) |
0 | 237 docs: |
238 o comprehensive update | |
239 tests: | |
240 o plain: split "plain" test up in C and C++ part | |
241 o callbacksuite: added multiple configuration support for callback_suite | |
242 | |
40 | 243 Version 0.5 (2010/02/01) |
0 | 244 o renamed arm9 stuff to arm32 |
245 o added non-EABI ABI for arm32 (before, EABI was the default implementation) | |
246 o added dyncallback support for x64/windows (thanks Olivier), x64/darwin, arm32/arm, arm32/thumb | |
247 o synced documentation again with current state of the source (lots of small changes) | |
248 o updated ruby binding to current state of signature string (still some features missing, though) | |
249 o added a couple of new options to configure scripts (e.g. prefix-bd, new targets, etc.) | |
250 o darwin universal binary support | |
251 o added new tests callback_plain and calback_suite | |
252 o added Haiku/BeOS support | |
253 | |
40 | 254 Version 0.4 (2009/07/06) |
0 | 255 o added 'doc' makefile target for coherency and ease of use |
256 o fixed nmake buildfiles and configure.bat (were out of date and wrong) | |
257 o test suite clean up (GNUmake, BSDmake): | |
258 target "config" modified, phony without dependencies to other builds | |
221 | 259 o bugfix: GNU fastcall calling convention for float and double arguments was wrong (no skip of register) |
0 | 260 o update: x86win32* suite tests are built on cygwin now, added total result output |
261 o signature types change: | |
262 C Strings: 'S' -> 'Z' | |
263 long: 'l' -> 'j' | |
264 long long: 'L' -> 'l' | |
79 | 265 added unsigned integer type signature characters: upper case encoding |
0 | 266 o added: callbacks component (support only for some platforms ATM) |
267 o added: test cases for alloc_wx, thunk | |
268 o updated Documentation | |
269 | |
40 | 270 Version 0.3 (2009/01/17) |
0 | 271 o added Linux PPC32 support |
272 o added ARM THUMB mode support | |
273 o cosmetic changes, documentation updated | |
274 o bugfix: on cygwin exported C symbols in GNU as are prefixed with '_' now. | |
275 o removed scons build support | |
276 | |
40 | 277 Version 0.2 (2008/05/18) |
0 | 278 o added scons build support |
279 o configure variables all prefix CONFIG_* now | |
280 o configure variable INSTALL_DIR changed to INSTALL_PREFIX | |
281 o configure (shell version) option "--prefix" changed to "--prefix=<path>" | |
282 | |
40 | 283 Version 0.1 (2008/01/23) |
0 | 284 o initial release |
285 |