Author: arty
Date: Mon Jan 15 12:43:12 2007
New Revision: 25462
URL:
http://svn.reactos.org/svn/reactos?rev=25462&view=rev
Log:
Remove some spam and add options to make ntoskrnl a bit smaller and easier to process.
Modified:
branches/powerpc/reactos/ReactOS-ppc.rbuild
branches/powerpc/reactos/lib/rtl/image.c
Modified: branches/powerpc/reactos/ReactOS-ppc.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/ReactOS-ppc.rbu…
==============================================================================
--- branches/powerpc/reactos/ReactOS-ppc.rbuild (original)
+++ branches/powerpc/reactos/ReactOS-ppc.rbuild Mon Jan 15 12:43:12 2007
@@ -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>
Modified: branches/powerpc/reactos/lib/rtl/image.c
URL:
http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/lib/rtl/image.c…
==============================================================================
--- branches/powerpc/reactos/lib/rtl/image.c (original)
+++ branches/powerpc/reactos/lib/rtl/image.c Mon Jan 15 12:43:12 2007
@@ -175,11 +175,6 @@
Offset = *TypeOffset & 0xFFF;
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.
@@ -213,7 +208,6 @@
case IMAGE_REL_BASED_HIGHADJ:
Addend = (((ULONG)*ShortPtr) << 16) + (ULONG)Delta;
- if(Addend & 0x8000) Addend += 0x8000;
*ShortPtr = Addend >> 16;
break;