mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
Remove some spam and add options to make ntoskrnl a bit smaller and easier to process.
svn path=/branches/powerpc/; revision=25462
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
<compilerflag>-fshort-wchar</compilerflag>
|
||||
<compilerflag>-fsigned-char</compilerflag>
|
||||
<compilerflag>-map</compilerflag>
|
||||
<compilerflag>-mfull-toc</compilerflag>
|
||||
<compilerflag>-meabi</compilerflag>
|
||||
<compilerflag>-O2</compilerflag>
|
||||
<compilerflag>-Wno-strict-aliasing</compilerflag>
|
||||
<if property="MP" value="1">
|
||||
<define name="CONFIG_SMP" value="1" />
|
||||
</if>
|
||||
|
||||
@@ -176,11 +176,6 @@ LdrProcessRelocationBlockLongLong(
|
||||
Type = *TypeOffset >> 12;
|
||||
ShortPtr = (PUSHORT)(RVA(Address, Offset));
|
||||
|
||||
DbgPrint("Correcting (%04x) %08x at %08x\n",
|
||||
Type,
|
||||
*((PULONG)RVA(Address,Offset)),
|
||||
ShortPtr);
|
||||
|
||||
/*
|
||||
* Don't relocate within the relocation section itself.
|
||||
* GCC/LD generates sometimes relocation records for the relocation section.
|
||||
@@ -213,7 +208,6 @@ LdrProcessRelocationBlockLongLong(
|
||||
|
||||
case IMAGE_REL_BASED_HIGHADJ:
|
||||
Addend = (((ULONG)*ShortPtr) << 16) + (ULONG)Delta;
|
||||
if(Addend & 0x8000) Addend += 0x8000;
|
||||
*ShortPtr = Addend >> 16;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user