Author: blueswirl Date: 2007-04-16 18:47:42 +0200 (Mon, 16 Apr 2007) New Revision: 124
Modified: openbios-devel/arch/sparc64/build.xml Log: Linkage fix to reduce Sparc64 image size by 1M
Modified: openbios-devel/arch/sparc64/build.xml =================================================================== --- openbios-devel/arch/sparc64/build.xml 2007-04-15 05:46:25 UTC (rev 123) +++ openbios-devel/arch/sparc64/build.xml 2007-04-16 16:47:42 UTC (rev 124) @@ -66,8 +66,9 @@ <!-- END OF HACK ALERT -->
<executable name="openbios-builtin.elf" target="target" condition="IMAGE_ELF_EMBEDDED"> + <!-- We use -N to reduce the file size by 1M --> <rule> - $(LD) -T arch/sparc64/ldscript -o $@.nostrip $^ + $(LD) -N -T arch/sparc64/ldscript -o $@.nostrip $^ $(NM) $@.nostrip | sort > $(ODIR)/openbios-builtin.syms cp $@.nostrip $@ $(STRIP) $@</rule>