mirror of
https://github.com/reactos/reactos.git
synced 2026-07-07 00:44:22 +08:00
53f621c80d4fdc2be59b4d2da4026a1cffe71302
- Because of some ridiculously stupid design in LD, it seems if it cannot find a given entrypoint, it SILENTLY ASSUMES you meant "Hi LD, please use my base address as my entrypoint". - As such, all our drivers were linked with the start address as the base address... for the RAMDisk driver, this ended up being RamdiskAddDevice. - When we started implementing RamdiskAddDevice, noticed that DriverEntry wasn't actually getting called. Adding debug prints changed which function was called. - Wasted a week, thanks LD. svn path=/trunk/; revision=34444
Languages
C
86.6%
C++
10.6%
Python
0.7%
Assembly
0.5%
CMake
0.5%
Other
0.8%