(In reply to Ralf Habacker from comment #2) > address space layout randomization (ASLR) > --nxcompat Image is compatible with data execution > prevention According to https://github.com/bminor/binutils-gdb/commit/514b4e191d5f46de8e142fe216e677a35fa9c4bb this is set by default since binutils 2.36. The uses settings can be inspected with: $ objdump -x <file.dll> | grep -A3 DllCh DllCharacteristics 00000140 DYNAMIC_BASE NX_COMPAT SizeOfStackReserve 00200000