mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user