Hello, Some years ago Christopher Faylor added a feature [1] to binutils so that the --enable-auto-image-base argument to ld can take an optional argument (specifying the minimum base address).
This was applied for 32-bit, but there is a separate template file for 64-bit [2] which (deceptively, despite the documentation, and some hair loss ;) ignores this optional argument, which it turns out I actually need for some reason. I could submit a patch to binutils or Christopher can if he's reading and feels like it. I just wanted to point this out, since I actually needed this feature and was very grateful to find it (even if broken). In the meantime I'm working around this by re-implementing binutils' compute_dll_image_base function and using the explicit --image-base argument. Thanks, Madison [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;f=ld/emultempl/pe.em;h=d0e6d77b3fb64561ca66535f8ed6ca523eac923e [2] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=ld/emultempl/pep.em;h=dca36cc341aabfa2ec9db139b8ec94690165201a;hb=d0e6d77b3fb64561ca66535f8ed6ca523eac923e -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple