From: Art Yerkes Date: Mon, 15 Jan 2007 09:43:12 +0000 (+0000) Subject: Remove some spam and add options to make ntoskrnl a bit smaller and easier to process. X-Git-Tag: backups/ddk2003@36850~944^2~4 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=e4aa183ac9342636ccb9637f1a38e240c9c2f199 Remove some spam and add options to make ntoskrnl a bit smaller and easier to process. svn path=/branches/powerpc/; revision=25462 --- diff --git a/reactos/ReactOS-ppc.rbuild b/reactos/ReactOS-ppc.rbuild index d6f73a4483b..25ee4ef343e 100644 --- a/reactos/ReactOS-ppc.rbuild +++ b/reactos/ReactOS-ppc.rbuild @@ -29,6 +29,10 @@ -fshort-wchar -fsigned-char -map + -mfull-toc + -meabi + -O2 + -Wno-strict-aliasing diff --git a/reactos/lib/rtl/image.c b/reactos/lib/rtl/image.c index 5439e4f328c..c4e5e64896b 100644 --- a/reactos/lib/rtl/image.c +++ b/reactos/lib/rtl/image.c @@ -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;