Re: [Mingw-w64-public] Problems when building NT kernel drivers with GCC / LD

2022-10-30 Thread ralph engels
i think most of it stems from binutils tools being geared towards linux driver development ? and since noone before has shown much interrest in developing drivers for windows using the gnu tools. I also think that there might be some pitfalls -> incompatible exception models for one (most

Re: [Mingw-w64-public] Problems when building NT kernel drivers with GCC / LD

2022-10-30 Thread Martin Storsjö
On Sun, 30 Oct 2022, Pali Rohár wrote: * LD --dynamicbase is not working correctly. If used for PE executables (not dynamic libraries) then it does *not* generate relocation info. And without relocation info in PE binary, it is not possible to relocate base address. Which makes dynamic base