j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: 2008-09-11 21:33:02 +0200 (Thu, 11 Sep 2008) New Revision: 236
Modified: openbios-devel/arch/sparc32/build.xml openbios-devel/arch/sparc64/build.xml Log: Enable ld flag --warn-common
Modified: openbios-devel/arch/sparc32/build.xml =================================================================== --- openbios-devel/arch/sparc32/build.xml 2008-09-11 19:32:16 UTC (rev 235) +++ openbios-devel/arch/sparc32/build.xml 2008-09-11 19:33:02 UTC (rev 236) @@ -33,7 +33,7 @@
<executable name="openbios-plain.elf" target="target" condition="IMAGE_ELF"> <rule> - $(LD) -N -T arch/sparc32/ldscript -o $@.nostrip $^ + $(LD) --warn-common -N -T arch/sparc32/ldscript -o $@.nostrip $^ $(NM) $@.nostrip | sort > $(ODIR)/openbios-plain.syms cp $@.nostrip $@ $(STRIP) $@</rule> @@ -69,7 +69,7 @@
<executable name="openbios-builtin.elf" target="target" condition="IMAGE_ELF_EMBEDDED"> <rule> - $(LD) -N -T arch/sparc32/ldscript -o $@.nostrip $^ + $(LD) --warn-common -N -T arch/sparc32/ldscript -o $@.nostrip $^ $(NM) $@.nostrip | sort > $(ODIR)/openbios-builtin.syms cp $@.nostrip $@ $(STRIP) $@</rule>
Modified: openbios-devel/arch/sparc64/build.xml =================================================================== --- openbios-devel/arch/sparc64/build.xml 2008-09-11 19:32:16 UTC (rev 235) +++ openbios-devel/arch/sparc64/build.xml 2008-09-11 19:33:02 UTC (rev 236) @@ -32,7 +32,7 @@
<executable name="openbios-plain.elf" target="target" condition="IMAGE_ELF"> <rule> - $(LD) -T arch/sparc64/ldscript -o $@.nostrip $^ + $(LD) --warn-common -T arch/sparc64/ldscript -o $@.nostrip $^ $(NM) $@.nostrip | sort > $(ODIR)/openbios-plain.syms cp $@.nostrip $@ $(STRIP) $@</rule> @@ -69,7 +69,7 @@ <executable name="openbios-builtin.elf" target="target" condition="IMAGE_ELF_EMBEDDED"> <!-- We use -N to reduce the file size by 1M --> <rule> - $(LD) -N -T arch/sparc64/ldscript -o $@.nostrip $^ + $(LD) --warn-common -N -T arch/sparc64/ldscript -o $@.nostrip $^ $(NM) $@.nostrip | sort > $(ODIR)/openbios-builtin.syms cp $@.nostrip $@ $(STRIP) $@</rule>