Mercurial > pub > dyncall > dyncall
annotate ChangeLog @ 217:87c695673522
dynload darwin/mach-o update:
- removed unnecessarily complex darwin loader interface, and sharing with dynload_unix now
- mach-o symbol resolving refactored:
* to handle symlinks, relative paths, paths with random casing
* loading lib when not already loaded, for API consistency with ELF and PE implementations
author | Tassilo Philipp |
---|---|
date | Thu, 06 Apr 2017 12:00:36 +0200 |
parents | 0592eb360af2 |
children | 6784e74490ba |
rev | line source |
---|---|
0 | 1 This file lists bigger/noteworthy changes, only... |
2 | |
65 | 3 Version 1.0 (upcoming) |
79 | 4 dyncall: |
206 | 5 o PPC64 single-precision float fixes for more than 13 float args (thanks Masanori Mitsugi!) |
147 | 6 o fixed potential buffer overrun on ARM64 |
206 | 7 o error code handling (dcGetError) changes, flag is now cleared (work still underway) |
130 | 8 o MIPS n64 ellipsis call fixes |
147 | 9 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
|
10 o fixed ARM32-THUMB stack alignment issues (found on Cortex-m0, thanks Darren Whobrey!) |
147 | 11 o better C++ compiler support (for pointer conversions) |
79 | 12 dyncallback: |
206 | 13 o PPC64 single-precision float fixes for more than 13 float args (thanks Masanori Mitsugi!) |
135 | 14 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
|
15 o SPARC32 (v7/v8) support |
53c42b1d9f8b
- sparc doc improvements for both, 32 and 64
Tassilo Philipp
parents:
185
diff
changeset
|
16 o SPARC64 (v9) support |
185
a41bc98e101c
- impl. for allocwx stuff on POSIX-strict systems where there is no MAP_ANON for mmap()
Tassilo Philipp
parents:
175
diff
changeset
|
17 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
|
18 o allocated space used for thunk now always W^X (req. for e.g. OpenBSD >= 6.0) |
217 | 19 dynload: |
20 o simplifications of implemention on Darwin | |
21 o reliability/stability fixes for Mach-O dlSyms* lib to handle symlinks, | |
22 relative paths, paths with random casings | |
23 o allowing Mach-O dlSyms* lib to be used standalone (consistent with ELF and PE impls now) | |
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
|
24 general: |
185
a41bc98e101c
- impl. for allocwx stuff on POSIX-strict systems where there is no MAP_ANON for mmap()
Tassilo Philipp
parents:
175
diff
changeset
|
25 o marked assembly code as not needing an execstack, for safer/easier integration into other |
a41bc98e101c
- impl. for allocwx stuff on POSIX-strict systems where there is no MAP_ANON for mmap()
Tassilo Philipp
parents:
175
diff
changeset
|
26 projects/builds, where needed; this is needed b/c of questionable default behaviours of some |
a41bc98e101c
- impl. for allocwx stuff on POSIX-strict systems where there is no MAP_ANON for mmap()
Tassilo Philipp
parents:
175
diff
changeset
|
27 toolchains (thanks Thorsten Behrens for report and analysis) |
79 | 28 doc: |
29 o working html doc generation from TEX sources | |
197
53c42b1d9f8b
- sparc doc improvements for both, 32 and 64
Tassilo Philipp
parents:
185
diff
changeset
|
30 o SPARC32 (v7/v8) calling convention description |
53c42b1d9f8b
- sparc doc improvements for both, 32 and 64
Tassilo Philipp
parents:
185
diff
changeset
|
31 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
|
32 bindings: |
84 | 33 o better documentation, removed relative path dependencies, general cleanup |
34 o python: updated to latest signature format (was still on 0.1) | |
35 o java: rewritten (old version was never complete, anyways) | |
214 | 36 tests: |
37 o added new dynload_plain test covering basic use of all dynload functions | |
151 | 38 buildsys: |
39 o cmake: made to work on systems without C++ compiler (thanks Franklin Mathieu) | |
65 | 40 |
59 | 41 Version 0.9 (2015/12/31) |
0 | 42 dyncall: |
40 | 43 o ARM64 support (AAPCS64 on Linux & Apple's derived version on iOS) |
44 o armhf calling convention support for ARM32 | |
206 | 45 o PPC64 support, including syscalls (thanks Masanori Mitsugi!) |
0 | 46 o introduced dcArgF and dcVArgF for flexible/convenient argument binding (works like dcCallF/dcVCallF but without the function call) |
21 | 47 o using -fPIC by default for FreeBSD |
0 | 48 o PPC32 linux syscall support |
147 | 49 o fixed return value errors for ARM32 on some platforms (e.g. freebsd/arm32, nintendo ds); arm & thumb mode |
0 | 50 dyncallback: |
51 o ARM64 support (AAPCS64 on Linux, Apple's derived version on iOS) | |
40 | 52 o armhf calling convention support for ARM32 |
206 | 53 o PPC64 support (thanks Masanori Mitsugi!) |
0 | 54 o PPC32 System V support (Linux) |
55 o fix for PPC32 Darwin/OS X | |
56 o more intuitive specification of callback return type | |
57 doc: | |
58 o added ARM64 support info and calling convention documentation | |
64 | 59 o added ARM32 armhf section |
0 | 60 o added PPC64 support info |
61 o cleanup, brought all up to date, etc. | |
62 tests: | |
63 o callf test covers new argf interface | |
64 | 64 o several fixes to some test suites |
0 | 65 buildsys: |
66 o more flexible testsuite build and 'pack' target for convenience | |
67 o fixes/additions for OS X universal builds | |
68 o added iOS universal build support for armv7/arm64 | |
69 o helper script for generic .elf -> EBOOT.PBP creation for PSP | |
70 o Sun make fixes for C++ code in test suite | |
71 bindings: | |
72 o erldc: Erlang binding (thanks Erik!) | |
2 | 73 infrastructure: |
74 o moved to hg | |
83
54930a037e8a
- PPC64 single-precision float fixes for more than 13 float args (thanks Masanori!)
cslag
parents:
80
diff
changeset
|
75 o moved bindings to own repository |
0 | 76 |
40 | 77 Version 0.8 (2014/03/24) |
0 | 78 buildsys: |
79 o big simplification make-based build system, no more distinct GNU and BSD makefiles anymore | |
80 o new, much simpler ./configure for new make-based build-system | |
81 o support for in-source and out-of-source builds for make-based build systems | |
82 o made configure.bat guess x64 as target arch for x64 windows hosts | |
83 o based more sources on portasm generation | |
84 dyncall: | |
85 o fix for ARMv7 Thumb-2 code (tested on iPhone 4 CDMA / iOS 6.0.1) | |
79 | 86 o bugfixes for -O2 builds for SPARC-v9 and SPARC-v7 |
0 | 87 o new optimized call kernel for SPARC-v9 without conditionals |
130 | 88 o bigger refactoring and optimization of MIPS o32 |
0 | 89 o x64 optimizations |
90 dyncallback: | |
91 o added callback support for plan9 | |
92 o big cleanup, removal of duplicate files after introduction of portasm | |
93 o include path fixes for public facing APIs (removed relative paths) | |
94 doc: | |
95 o cleanup of manual and corrections | |
96 o added info about newly supported and/or tested platforms (e.g. FreeBSD on ARM) | |
97 o restructured folder layout for documentation | |
98 o added API doc for dyncallback and dynload | |
99 o added manpages for dyncallback and dynload | |
100 tests: | |
101 o added arm/thumb interwork test suite | |
102 bindings: | |
103 o godc: added bindings for Go | |
104 o rbdc: fixed and extended ruby bindings | |
105 o shdc: renamed shell binding to shdc and added feature to list shared-objects' symbols | |
106 | |
40 | 107 Version 0.7 (2012/01/02) |
0 | 108 architecture: |
79 | 109 o added subproject: portasm - portable (GNU AS,+Apple and MASM) assembly framework |
0 | 110 o added subproject: autovar - predefined macro framework (was dyncall_macros.h) |
111 o added support for Solaris and SunPro compiler for i386, x86_64, sparc and sparc64 | |
112 o improved auto-detection via preprocessor defines | |
113 dyncall updates: | |
114 o uses portasm (GNU,Apple,Microsoft) common sources for x86,x64,ppc32,arm32_arm | |
206 | 115 o added support for sparc (32-bit) (tested on linux/debian,openbsd,solaris) |
116 o added support for sparc (64-bit) (tested on linux/debian,openbsd,solaris) | |
0 | 117 o bug fixes for x64/win64 calling convention |
118 o added support for mingw32-w64 on x64 | |
119 o improved cdecl x86 calling convention: stack always 16 byte aligned | |
120 o updated API and initial support for structs (for x86/AMD64) | |
121 o initial support for syscalls on x86, added x86 int80h linux/bsd | |
122 o added Minix port (stable) | |
123 o optimized vector buffer for small type pushing | |
124 o minor fix for amd64/sysv: alignment to 32-byte | |
125 o bug fix for ppc32/sysv: ellipsis calls work now | |
126 o updated API, introduced DC_CALL_C_ELLIPSIS_VARARGS | |
127 o changed interface: dcMode does not reset internally anymore | |
128 dyncallback updates: | |
129 o uses portasm for x86,x64 | |
130 o added Solaris/x86/sunpro port (stable) | |
131 o added Minix port (unstable) | |
132 o callback support for Darwin/ppc32 | |
133 o updates source, uses relative includes | |
134 dynload updates: | |
135 o fixes for missing includes (dyncall_alloc.h) | |
136 o fixes for self-resolving symbols on windows | |
137 o removed Dbghelf.lib dependency | |
138 o bug fixes for cygwin/x86 | |
139 o fixes for beos/haiku | |
140 o no dependencies to libdyncall sources. | |
141 buildsys additions: | |
142 o added zero-config (BSD,GNU,SUN) make files (Makefile.embedded) | |
79 | 143 o added in/out-of-source configure2 w/ (BSD,GNU) make files (Makefile.generic) |
144 o added bootstrap lua script (download/build) | |
0 | 145 o Nmakefile: more tests included (resolve_self) |
146 o improved cross-compilation for iOS (upgrade to 4.3 sdk) | |
147 o darwin 8.0 support | |
148 o added 'install' support for Makefile.embedded | |
149 buildsys/gmake updates: | |
150 o added support for msvc/x64 tool-chain | |
151 o default settings for build-dir changed to '.' | |
152 o cleanup: removed top-level Make{Prolog,Epilog,Rules} files and updated all sub-projects and tests | |
153 o added support for DESTDIR staging installation | |
154 o added support for manual page installation | |
155 buildsys/cmake updates: | |
156 o updated find module scripts (see cmake/Modules) | |
157 o added support for using dyncall as sub-project (via *Config.cmake files) | |
158 see details in README.CMake | |
159 o fixes for msvc and ml | |
160 o fixes for CPack | |
161 o fixes for universal builds on Mac OS X | |
162 o supports SunPro with *.S files. | |
163 o added experimental 'dynMake' portable make-based build-system (not stable, yet) | |
164 documentation updates: | |
165 o added dyncallback documentation | |
79 | 166 o updated dyncall documentation |
0 | 167 o minor updates |
168 tests: | |
169 o added flexible test suite for calls (call_suite) based on Lua and C | |
170 o added syscall test | |
171 o updates to resolve-self test (adding additional link flags to export symbols) | |
79 | 172 o improved dir name portability (renamed plain_c++ -> plain_cxx) |
0 | 173 o renamed *.cpp -> *.cc files (OpenBSD/Sun make has no implicit rules for cpp) |
174 | |
40 | 175 Version 0.6 (2010/09/25) |
0 | 176 building: |
177 o new build systems: CMake and Plan9's mk | |
178 o buildsys/gmake tool chain update: pcc and iphone sdk | |
179 o x64 bugfix: added "-fPIC" even for static libs | |
79 | 180 dynload updates: |
0 | 181 o enum symbols update: Mach-O and Win64 (thanks Olivier) |
182 o numerous convenience changes to dynload interface (thanks Olivier) | |
183 o added support for resolving application images itself | |
184 dyncall updates: | |
185 o new platform support: arm/iphone (armv6), x86/Plan9 | |
130 | 186 o new MIPS calling conventions: o32, n64 (both endian models) |
0 | 187 o cleanup: unexported functions in MASM files, b/c export not needed (thanks Olivier) |
188 o interface update: added error reporting facility 'dcGetError' | |
189 o bugfix for ppc32/sysv: ellipsis calls were broken | |
79 | 190 o interface update: added new abstract mode for ellipsis calls (DC_CALL_C_ELLIPSIS) |
0 | 191 docs: |
192 o comprehensive update | |
193 tests: | |
194 o plain: split "plain" test up in C and C++ part | |
195 o callbacksuite: added multiple configuration support for callback_suite | |
196 | |
40 | 197 Version 0.5 (2010/02/01) |
0 | 198 o renamed arm9 stuff to arm32 |
199 o added non-EABI ABI for arm32 (before, EABI was the default implementation) | |
200 o added dyncallback support for x64/windows (thanks Olivier), x64/darwin, arm32/arm, arm32/thumb | |
201 o synced documentation again with current state of the source (lots of small changes) | |
202 o updated ruby binding to current state of signature string (still some features missing, though) | |
203 o added a couple of new options to configure scripts (e.g. prefix-bd, new targets, etc.) | |
204 o darwin universal binary support | |
205 o added new tests callback_plain and calback_suite | |
206 o added Haiku/BeOS support | |
207 | |
40 | 208 Version 0.4 (2009/07/06) |
0 | 209 o added 'doc' makefile target for coherency and ease of use |
210 o fixed nmake buildfiles and configure.bat (were out of date and wrong) | |
211 o test suite clean up (GNUmake, BSDmake): | |
212 target "config" modified, phony without dependencies to other builds | |
213 o bugfix: GNU fastcall calling convention for float and double arguments | |
214 was wrong. no skip of register. | |
215 o update: x86win32* suite tests are built on cygwin now, added total result output | |
216 o signature types change: | |
217 C Strings: 'S' -> 'Z' | |
218 long: 'l' -> 'j' | |
219 long long: 'L' -> 'l' | |
79 | 220 added unsigned integer type signature characters: upper case encoding |
0 | 221 o added: callbacks component (support only for some platforms ATM) |
222 o added: test cases for alloc_wx, thunk | |
223 o updated Documentation | |
224 | |
40 | 225 Version 0.3 (2009/01/17) |
0 | 226 o added Linux PPC32 support |
227 o added ARM THUMB mode support | |
228 o cosmetic changes, documentation updated | |
229 o bugfix: on cygwin exported C symbols in GNU as are prefixed with '_' now. | |
230 o removed scons build support | |
231 | |
40 | 232 Version 0.2 (2008/05/18) |
0 | 233 o added scons build support |
234 o configure variables all prefix CONFIG_* now | |
235 o configure variable INSTALL_DIR changed to INSTALL_PREFIX | |
236 o configure (shell version) option "--prefix" changed to "--prefix=<path>" | |
237 | |
40 | 238 Version 0.1 (2008/01/23) |
0 | 239 o initial release |
240 |