[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] symbols/riscv: re-number intermediate files



commit 20db519676e6953b1b839bda82a70a07f326f47d
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Mon Dec 1 10:12:16 2025 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Dec 1 10:12:16 2025 +0100

    symbols/riscv: re-number intermediate files
    
    In preparation to do away with symbols-dummy, re-number the assembly and
    object files used, for the numbers to match the next passes real output.
    This is to make 0 available to use for what now is handled by
    symbols-dummy.
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Reviewed-By: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
---
 xen/arch/riscv/Makefile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/xen/arch/riscv/Makefile b/xen/arch/riscv/Makefile
index e2b8aa42c8..598d1ded9b 100644
--- a/xen/arch/riscv/Makefile
+++ b/xen/arch/riscv/Makefile
@@ -26,16 +26,16 @@ $(TARGET)-syms: $(objtree)/prelink.o $(obj)/xen.lds
            $(objtree)/common/symbols-dummy.o -o $(dot-target).0
        $(NM) -pa --format=sysv $(dot-target).0 \
                | $(objtree)/tools/symbols $(all_symbols) --sysv --sort \
-               > $(dot-target).0.S
-       $(MAKE) $(build)=$(@D) $(dot-target).0.o
+               > $(dot-target).1.S
+       $(MAKE) $(build)=$(@D) $(dot-target).1.o
        $(LD) $(XEN_LDFLAGS) -T $(obj)/xen.lds $< \
-           $(dot-target).0.o -o $(dot-target).1
+           $(dot-target).1.o -o $(dot-target).1
        $(NM) -pa --format=sysv $(dot-target).1 \
                | $(objtree)/tools/symbols $(all_symbols) --sysv --sort \
-               > $(dot-target).1.S
-       $(MAKE) $(build)=$(@D) $(dot-target).1.o
+               > $(dot-target).2.S
+       $(MAKE) $(build)=$(@D) $(dot-target).2.o
        $(LD) $(XEN_LDFLAGS) -T $(obj)/xen.lds $< $(build_id_linker) \
-           $(dot-target).1.o -o $@
+           $(dot-target).2.o -o $@
        $(NM) -pa --format=sysv $@ \
                | $(objtree)/tools/symbols --all-symbols --xensyms --sysv 
--sort \
                > $@.map
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.