Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2004 19:59:10 -0500
From:      Don Bowman <don@sandvine.com>
To:        'Garance A Drosihn' <drosih@rpi.edu>, Don Bowman <don@sandvine.com>
Cc:        hackers@freebsd.org
Subject:   RE: Adventures with gcc: code vs object-code size
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C85337045D8682@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help
From: Garance A Drosihn [mailto:drosih@rpi.edu]
> At 7:35 PM -0500 3/21/04, Don Bowman wrote:
> >From: Garance A Drosihn [mailto:drosih@rpi.edu]
> >  >
> >>  So maybe this has something to do with how linking is done
> >>  for ELF modules.  Unfortunately, I need to be concentrating
> >>  on something else right now...
> >
> >It's not just bumping you up another module 4K pages? The
> >linker aligns text, data, bss, rodata, etc.
> 
> (65) ls -l /bin/ps*
> -r-xr-xr-x  1 root  wheel  27100 Mar 20 14:29 /bin/ps
> -r-xr-xr-x  1 root  wheel  27296 Mar 21 18:21 /bin/ps-sanscmp
> -r-xr-xr-x  1 root  wheel  31204 Mar 21 19:46 /bin/ps-withcmp
> 
> The first one is the `ps' before all of my recent changes, the
> second is all of the changes except for that strcmp(), and the
> third adds the strcmp.

and objdump --headers shows?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C85337045D8682>