mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +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>
This commit is contained in:
1 parent
f907784c32
commit
f7eab298bb
1 file changed
+1
-1
+1
-1
@@ -263,7 +263,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; \
|
||||
|
||||