httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Marr <gr...@alum.wpi.edu>
Subject Re: cvs commit: httpd-2.0/modules/loggers mod_logio.c
Date Mon, 04 Nov 2002 15:15:03 GMT
At 03:50 PM 11/1/2002, Greg Stein wrote:
>On Fri, Nov 01, 2002 at 06:07:53PM -0000, wrowe@apache.org wrote:
> >...
> >   +++ BaseAddr.ref    1 Nov 2002 18:07:52 -0000       1.22
> >   @@ -60,3 +60,4 @@
> >    mod_authz_groupfile  0x6FB10000    0x00010000
> >    mod_authz_host       0x6FB00000    0x00010000
> >    mod_authz_user       0x6FAF0000    0x00010000
> >   +mod_logio            0x6FAE0000    0x00010000
>
>For efficiency purposes, those numbers should be as close together 
>as possible.

FYI, these are as close together as possible.  You can't specify the 
addresses with any finer granularity than 0x10000.

>I don't recall how to find the size of the module;

If you're on WinNT, you can use Quick View.  I'm not sure in Win2K, 
other than just checking the size of the executable in Windows 
Explorer.  Also, the reason for the 0x00010000 at the end of the line 
is so the linker knows how much space you've allocated for the 
module.  If it module is larger than that size, a warning will be 
issued at link time.

-- 
Greg Marr
gregm@alum.wpi.edu


Mime
View raw message