|
From: Hartmut B. <har...@te...> - 2002-04-30 18:57:27
|
> -----Ursprungliche Nachricht----- > Von: KJK::Hyperion [SMTP:no...@li...] > Gesendet am: Montag, 29. April 2002 16:41 > An: ReactOS-Kernel > Betreff: [ros-kernel] Ton-O-Bugs > > - major flaw in our toolchain: GNU ld doesn't calculate the PE image > checksum, it just happily sets it to zero. Apparently no command line > switch controls this. NT refuses to load drivers with an incorrect checksum > (can't test the new Null driver because of this) I've written a litle tool that calculates the PE checksum and changes some memory attributes. You can compile it with 'gcc -o pesum.exe pesum.c' and use it with 'pesum image_in image_out'. - Hartmut |