Date: Sun, 21 Mar 2004 18:39:13 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: Kip Macy <kmacy@netapp.com> Cc: hackers@freebsd.org Subject: Re: Adventures with gcc: code vs object-code size Message-ID: <p06020453bc83d6cc92a7@[128.113.24.47]> In-Reply-To: <Pine.LNX.4.44.0403211451170.25512-100000@siml2.eng.netapp.com> References: <Pine.LNX.4.44.0403211451170.25512-100000@siml2.eng.netapp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 2:52 PM -0800 3/21/04, Kip Macy wrote: >The heuristics vary from platform to platform - what does >"objdump -d" show? Based on what I see from that, the 'ps.o' which has the extra strcmp is about 40 bytes larger than the one without it. And now that you mention it, doing a plain 'ls -l' of ps.o shows that it is only 40 bytes larger. It's when you combine that file with the other *.o files, and strip it, that the final result ends up 3940 bytes larger. 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... -- 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?p06020453bc83d6cc92a7>