mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: f7eab298bb
master date: 2026-09-08 09:50:48 +0200
This commit is contained in:
1 parent
52f0799394
commit
564411f65b
1 file changed
+1
-1
+1
-1
@@ -262,7 +262,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; \
|
||||
|
||||