This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: linux 2.1.117 built with egcs-1.1 19980823
On Mon, Aug 24, 1998 at 03:47:15AM +0200, David S. Miller wrote:
> From: Andi Kleen <ak@muc.de>
> Date: 24 Aug 1998 00:46:52 +0200
>
> I did the same, but noticed a 50k increase of the image compared to
> the same tree build with gcc 2.7.2.3. I'm not sure about the
> reasons yet.
>
> Probably dwarf2 unwind info tables... they are quite sizable on the
> Intel. Sparc probably has the most compact representation.
AFAIK they aren't generated per default for C code.
I just did some experiments, compiled with -fno-exceptions and with the
same -malign-{loops,functions,jumps}=2 options as 2.7.2.3.
Here is part of a bloat-o-meter comparison between the 2.7.2.3 image and
egcs-1.1-snap image.
(all increases >40bytes).
Strange is that it adds some new symbols, what exactly is "LASHRDI4" ?
Symbol Old size New size Delta Change (%)
get_pid 236 276 40 +16.95
ip_init_chain 144 184 40 +27.78
ip_options_rcv_srr 320 360 40 +12.50
ip_rt_frag_needed 472 512 40 +8.47
load_aout_library 540 580 40 +7.41
number 456 496 40 +8.77
read_maps 792 832 40 +5.05
scsi_free 160 200 40 +25.00
second_overflow 508 548 40 +7.87
try_semop 176 216 40 +22.73
cookie_v4_init_sequence 124 168 44 +35.48
ext2_find_entry 724 768 44 +6.08
get_swaparea_info 304 348 44 +14.47
icmp_send 584 628 44 +7.53
neigh_proxy_process 180 224 44 +24.44
refile_buffer 700 744 44 +6.29
save_v86_state 272 316 44 +16.18
tcp_data 236 280 44 +18.64
trunc_tindirect 312 356 44 +14.10
ext2_file_write 1236 1284 48 +3.88
ip_options_compile 1492 1540 48 +3.22
ip_queue_xmit 752 800 48 +6.38
pcibios_sort 236 284 48 +20.34
unix_read_proc 404 452 48 +11.88
vgacon_startup 616 665 49 +7.95
LASHRDI2 (new) 51 51
count_semncnt 84 136 52 +61.90
count_semzcnt 84 136 52 +61.90
get_module_list 784 836 52 +6.63
ioctl_internal_command 404 456 52 +12.87
nfs_readdir 1252 1304 52 +4.15
scsi_init 316 368 52 +16.46
tcp_sltimer_handler 112 164 52 +46.43
unix_stream_recvmsg 856 908 52 +6.07
get_cpuinfo 648 704 56 +8.64
init_dev 1136 1192 56 +4.93
proc_readfd 404 460 56 +13.86
set_brk (new) 56 56
try_to_free_buffer 536 592 56 +10.45
arp_get_info 608 668 60 +9.87
kmem_cache_create 1312 1372 60 +4.57
load_seeprom 1328 1388 60 +4.52
newseg 428 488 60 +14.02
sk_chk_filter 156 216 60 +38.46
svc_tcp_recvfrom 1988 2048 60 +3.02
tcp_sack_new_ofo_skb 296 356 60 +20.27
write_ldt 628 688 60 +9.55
aic7xxx_search_qinfifo 856 920 64 +7.48
bdflush 524 588 64 +12.21
extract_entropy 556 620 64 +11.51
queue_event 216 280 64 +29.63
read_chan 1536 1600 64 +4.17
register_console 504 568 64 +12.70
aic7xxx_buildscb 740 808 68 +9.19
get_capabilities 384 452 68 +17.71
ne_block_input 296 364 68 +22.97
get_stats (new) 72 72
register_proc_table 244 316 72 +29.51
scsi_allocate_device 852 924 72 +8.45
scsi_request_queueable 612 684 72 +11.76
vgacon_scroll 572 648 76 +13.29
cdrom_sysctl_info 1112 1192 80 +7.19
findkey (new) 80 80
findkey (new) 80 80
LASHRDI3 (new) 83 83
aic7xxx_queue 1212 1300 88 +7.26
configure_termination 1520 1608 88 +5.79
ip_rule_match 592 680 88 +14.86
sprintf 3364 3452 88 +2.62
aic7xxx_setup 1108 1200 92 +8.30
do_con_write 1240 1332 92 +7.42
add_timer_randomness 456 552 96 +21.05
tcp_rcv_state_process 2128 2224 96 +4.51
SHATransform 324 424 100 +30.86
rs_interrupt_single 888 988 100 +11.26
sanitize_format 104 204 100 +96.15
trap_init 740 844 104 +14.05
tcp_write_space (new) 108 108
LASHRDI0 (new) 109 109
load__block_bitmap 372 484 112 +30.11
tcp_rpc_bh_run 1876 1988 112 +5.97
do_aic7xxx_isr 744 860 116 +15.59
set_rtc_mmss 292 408 116 +39.73
proc_readlink (new) 120 120
sys_init_module 1216 1336 120 +9.87
load_inode_bitmap 372 496 124 +33.33
aic7xxx_register 3448 3584 136 +3.94
aic7xxx_proc_info 2260 2404 144 +6.37
aic7xxx_scsirate 724 868 144 +19.89
rs_init 952 1096 144 +15.13
st_attach 452 596 144 +31.86
st_ioctl 2152 2296 144 +6.69
aic7xxx_reset_device 4428 4588 160 +3.61
ext2_read_super 1720 1880 160 +9.30
pty_init 996 1164 168 +16.87
sd_init_onedisk 2356 2528 172 +7.30
aic7xxx_timer 908 1100 192 +21.15
refill_freelist 1028 1220 192 +18.68
do_poll (new) 244 244
vc_resize 1160 1404 244 +21.03
proc_follow_link (new) 272 272
rs_read_proc 956 1232 276 +28.87
do_int (new) 296 296
do_open (new) 300 300
end_scsi_request (new) 308 308
handle_vm86_fault 1556 1900 344 +22.11
scsi_request_sense (new) 344 344
ne_probe1 1532 1896 364 +23.76
aic7xxx_abort 3948 4328 380 +9.63
elf_core_dump 2520 2936 416 +16.51
parse_options (new) 416 416
aic7xxx_reset 4396 4836 440 +10.01
aic7xxx_handle_seqint 6632 7188 556 +8.38
load_elf_binary 3136 3756 620 +19.77
LASHRDI4 (new) 769 769
LASHRDI0 (new) 831 831
LASHRDI1 (new) 985 985
parse_options (new) 1364 1364
rw_intr (new) 1616 1616
-Andi