Wine and relocation on not aligned section

Alexandre Julliard julliard at
Wed Nov 12 14:43:16 CST 2008

Alessandro <alex.pigna at> writes:

> On Wednesday 12 November 2008 20:59:00 you wrote:
>> > while diving into wine sources i've noticed that wine does not apply
>> > relocation to section not aligned to page boundary.
>> > Is there any reason for this behaviour?
>> > If it is wrong i've put up a little patch that solves the issue.
>> Do you know of an application that needs this?
>> Or can you write a conformance test that shows
>> how Windows behaves in this situation?
>> seems to
>> imply it's not needed?
>> - Dan
> It is needed to load kernel level drivers (.sys files). I don't know how to 
> test the windows behaviour with such cases. I think relocation is done to link 
> the driver with the kernel interefaces.

Relocation for drivers is handled in winedevice.exe.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list