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

[xen staging-4.20] build: also exclude .data.rel.ro in $(cmd_obj_init_o)



commit 754fda48d31a566136a0973e8af01f8990949c02
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Sep 10 12:39:35 2026 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Sep 10 12:39:35 2026 +0200

    build: also exclude .data.rel.ro in $(cmd_obj_init_o)
    
    .data.rel.ro really is merely a special case of .rodata: r/o data, but
    with runtime relocations (not relevant to Xen), i.e. r/o only after
    relocations were performed (by the dynamic loader).
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    master commit: f7eab298bb9f2634e555aea1db70efcbbfd4d316
    master date: 2026-09-08 09:50:48 +0200
---
 xen/Rules.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/Rules.mk b/xen/Rules.mk
index d759cccee3..10dc4a9562 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -259,7 +259,7 @@ quiet_cmd_obj_init_o = INIT_O  $@
 define cmd_obj_init_o
     $(OBJDUMP) -h $< | while read idx name sz rest; do \
         case "$$name" in \
-        .*.local) ;; \
+        .*.local|.data.rel.ro|.data.rel.ro.*) ;; \
         .text|.text.*|.data|.data.*|.bss|.bss.*) \
             test $$(echo $$sz | sed 's,00*,0,') != 0 || continue; \
             echo "Error: size of $<:$$name is 0x$$sz" >&2; \
--
generated by git-patchbot for /home/xen/git/xen.git#staging-4.20



 


Rackspace

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