From: Brian Glendenning <bglenden@aoc.nrao.edu>
To: Mike Stump <mrs@wrs.com>
Cc: amylaar@cygnus.co.uk, egcs@cygnus.com
Subject: Re: egcs 1.0.2 c++ .o size
Date: Wed, 01 Apr 1998 13:41:00 -0000 [thread overview]
Message-ID: <3522B3C0.16041341@aoc.nrao.edu> (raw)
In-Reply-To: <199803302119.NAA07654@kankakee.wrs.com>
> Use -fsjlj-exceptions, and compare against your application without
This didn't help (I didn't turn off our emulation, but it is very
cheap).
Here are the figures for an individual .o (all -O2)
gcc 2.7.2 29k
egcs 1.0.2 47k
egcs -fno-exceptions -fno-rtti 26k
egcs -fsjlj-exceptions 41k
These size ratio basically follow all the way through to the final
executables. The result of objdump -h is:
Table.egcs.o: file format elf32-sparc
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000316c 00000000 00000000 000000f4 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
1 .rodata 0000026f 00000000 00000000 00003260 2**3
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
2 .data 00000004 00000000 00000000 000034d0 2**2
CONTENTS, ALLOC, LOAD, DATA
3 .dtors 00000004 00000000 00000000 000034d4 2**2
CONTENTS, ALLOC, LOAD, RELOC, DATA
4 .ctors 00000004 00000000 00000000 000034d8 2**2
CONTENTS, ALLOC, LOAD, RELOC, DATA
5 .gcc_except_table 000005a0 00000000 00000000 000034dc 2**2
CONTENTS, ALLOC, LOAD, RELOC, DATA
6 .eh_frame 00000a5c 00000000 00000000 00003a7c 2**2
CONTENTS, ALLOC, LOAD, RELOC, DATA
7 .bss 00000001 00000000 00000000 000044d8 2**0
ALLOC
8 .comment 00000050 00000000 00000000 0000b500 2**0
CONTENTS, READONLY
Is this typical, or are we somehow doing something that tickles
particularly bad space behaviour of the exception handling code?
Brian
next prev parent reply other threads:[~1998-04-01 13:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-30 16:18 Mike Stump
1998-04-01 13:41 ` Brian Glendenning [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-03-26 18:14 Mike Stump
1998-03-24 16:25 Brian Glendenning
1998-03-27 15:18 ` Jeffrey A Law
1998-03-27 15:18 ` Joern Rennecke
1998-03-27 15:18 ` Brian Glendenning
1998-03-31 0:46 ` Jim Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3522B3C0.16041341@aoc.nrao.edu \
--to=bglenden@aoc.nrao.edu \
--cc=amylaar@cygnus.co.uk \
--cc=egcs@cygnus.com \
--cc=mrs@wrs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).