Linkage fix to reduce Sparc64 image size by 1M

git-svn-id: svn://coreboot.org/openbios/openbios-devel@124 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2007-04-16 16:47:42 +00:00
parent 057ad34bea
commit e3c69b17ee

View File

@@ -66,8 +66,9 @@
<!-- END OF HACK ALERT --> <!-- END OF HACK ALERT -->
<executable name="openbios-builtin.elf" target="target" condition="IMAGE_ELF_EMBEDDED"> <executable name="openbios-builtin.elf" target="target" condition="IMAGE_ELF_EMBEDDED">
<!-- We use -N to reduce the file size by 1M -->
<rule> <rule>
$(LD) -T arch/sparc64/ldscript -o $@.nostrip $^ $(LD) -N -T arch/sparc64/ldscript -o $@.nostrip $^
$(NM) $@.nostrip | sort > $(ODIR)/openbios-builtin.syms $(NM) $@.nostrip | sort > $(ODIR)/openbios-builtin.syms
cp $@.nostrip $@ cp $@.nostrip $@
$(STRIP) $@</rule> $(STRIP) $@</rule>