Date: Sun, 21 Mar 2004 19:53:03 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: Don Bowman <don@sandvine.com> Cc: hackers@freebsd.org Subject: RE: Adventures with gcc: code vs object-code size Message-ID: <p06020454bc83e82ba501@[128.113.24.47]> In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C85337045D8681@mail.sandvine.com> References: <FE045D4D9F7AED4CBFF1B3B813C85337045D8681@mail.sandvine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06020454bc83e82ba501>