$(LD) -N -T arch/x86/ldscript -o $@.nostrip $^ \
$(shell $(CC) -print-libgcc-file-name)
$(NM) $@.nostrip | sort > $(ODIR)/openbios-multiboot.syms
cp $@.nostrip $@
$(STRIP) $@
$(LD) -N -T arch/x86/ldscript -o $@.nostrip $^ \
$(shell $(CC) -print-libgcc-file-name)
$(NM) $@.nostrip | sort > $(ODIR)/openbios-plain.syms
cp $@.nostrip $@
$(STRIP) $@
$@
@cat $< | hexdump -ve '1/0 "\t" 8/1 "0x%02x, " 1/0 "\n"' \
| sed 's/0x ,//g' >> $@
@echo "};" >> $@
]]>
$(LD) -N -T arch/x86/ldscript -o $@.nostrip $^ \
$(shell $(CC) -print-libgcc-file-name)
$(NM) $@.nostrip | sort > $(ODIR)/openbios-builtin.syms
cp $@.nostrip $@
$(STRIP) $@