extend list of sections convertible to .init.* ones in init-only objects
authorJan Beulich <jbeulich@suse.com>
Mon, 12 Jan 2015 14:44:06 +0000 (15:44 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 Jan 2015 14:44:06 +0000 (15:44 +0100)
In particular the .rodata.str2 case is relevant for the EFI boot code
(moving around 3k from permanent to init-time sections).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/Rules.mk

index a97405c653012eb6079502dec4096713c16c21f9..feb08d689ac91c49ec7a3ae81d08f9bd8353da72 100644 (file)
@@ -170,7 +170,10 @@ _clean_%/: FORCE
 %.o: %.S Makefile
        $(CC) $(AFLAGS) -c $< -o $@
 
-SPECIAL_DATA_SECTIONS := rodata $(foreach n,1 2 4 8,rodata.str1.$(n)) \
+SPECIAL_DATA_SECTIONS := rodata $(foreach a,1 2 4 8 16, \
+                                           $(foreach w,1 2 4, \
+                                                       rodata.str$(w).$(a)) \
+                                           rodata.cst$(a)) \
                         $(foreach r,rel rel.ro,data.$(r).local)
 
 $(filter %.init.o,$(obj-y) $(obj-bin-y) $(extra-y)): %.init.o: %.o Makefile