ntdll: move relocations from mapping into loadermaster
commitfc2053838f14412d0f31d94bb7650b140d98a13a
authorPeter Oberndorfer <kumbayo84@arcor.de>
Fri, 4 Jan 2008 10:46:06 +0000 (4 11:46 +0100)
committerPeter Oberndorfer <kumbayo84@arcor.de>
Fri, 4 Jan 2008 10:46:06 +0000 (4 11:46 +0100)
treebc156fd686ef1aafb0f21f9694d82bb19ad55661
parent76714ec4066ee816e2229e9e59e4cb84f9584912
ntdll: move relocations from mapping into loader

while writing test for some mem mapping functions i found that
the relocation should happen in the loader and not in NtMapViewOfSection

http://www.codeguru.com/forum/archive/index.php/t-376151.html describes this a bit

still quite hackish it changes protections of each section in the image
without checking if it is even needed
need to check if "oep points into data section check" is supposed to happen inside NtMapViewOfSection
or later in the loader
dlls/ntdll/loader.c
dlls/ntdll/tests/file.c
dlls/ntdll/virtual.c