YhLu YhLu@tyan.com writes:
For s2895, with CAS, -rw-r--r-- 1 root root 49930 Jun 3 17:51 linuxbios_ram.nrv2b -rw-r--r-- 1 root root 5688 Jun 3 17:51 crt0.o -rw-r--r-- 1 root root 30276 Jun 3 17:51 init.o (include auto.o and failover.o and memcpy.o) -rw-r--r-- 1 root root 16006 Jun 3 17:51 init.o.gz if the init.o can be compressed too, you can spare 14k.
certainly some significant parts of init.o cannot be compressed. You need to get at least far enough to do the cache as ram thing.
Currently the cpu designers Intel and AMD do not support running out of the cache so that is an issue.
However the size of a .o rarely has a strong correspondence to actual code size. Use size to find out the size of the .text and .data segments.
Eric