Re: Adventures with gcc: code vs object-code size
From: Garance A Drosihn (drosih_at_rpi.edu)
Date: 03/22/04
- Previous message: Kip Macy: "Re: Adventures with gcc: code vs object-code size"
- In reply to: Kip Macy: "Re: Adventures with gcc: code vs object-code size"
- Next in thread: Clifton Royston: "Re: Adventures with gcc: code vs object-code size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Mar 2004 18:39:13 -0500 To: Kip Macy <kmacy@netapp.com>
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 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Kip Macy: "Re: Adventures with gcc: code vs object-code size"
- In reply to: Kip Macy: "Re: Adventures with gcc: code vs object-code size"
- Next in thread: Clifton Royston: "Re: Adventures with gcc: code vs object-code size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|