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