* [PATCH] extend list of sections convertible to .init.* ones in init-only objects
@ 2015-01-12 9:00 Jan Beulich
2015-01-12 14:03 ` Ian Campbell
0 siblings, 1 reply; 3+ messages in thread
From: Jan Beulich @ 2015-01-12 9:00 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Campbell, Keir Fraser, Ian Jackson, Tim Deegan
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
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>
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -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
[-- Attachment #2: wide-string-literals-init.patch --]
[-- Type: text/plain, Size: 744 bytes --]
extend list of sections convertible to .init.* ones in init-only objects
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>
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -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
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] extend list of sections convertible to .init.* ones in init-only objects
2015-01-12 9:00 [PATCH] extend list of sections convertible to .init.* ones in init-only objects Jan Beulich
@ 2015-01-12 14:03 ` Ian Campbell
2015-01-12 14:07 ` Jan Beulich
0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2015-01-12 14:03 UTC (permalink / raw)
To: Jan Beulich; +Cc: xen-devel, Keir Fraser, Ian Jackson, Tim Deegan
On Mon, 2015-01-12 at 09:00 +0000, Jan Beulich wrote:
> In particular the .rodata.str2 case is relevant for the EFI boot code
> (moving around 3k from permanent to init-time sections).
So we go from handling .rodata.str1.{1,2,3,8}
to .rodata.str{1,2,4}.{1,2,4,8,16}?
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] extend list of sections convertible to .init.* ones in init-only objects
2015-01-12 14:03 ` Ian Campbell
@ 2015-01-12 14:07 ` Jan Beulich
0 siblings, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2015-01-12 14:07 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel, Keir Fraser, Ian Jackson, Tim Deegan
>>> On 12.01.15 at 15:03, <Ian.Campbell@eu.citrix.com> wrote:
> On Mon, 2015-01-12 at 09:00 +0000, Jan Beulich wrote:
>> In particular the .rodata.str2 case is relevant for the EFI boot code
>> (moving around 3k from permanent to init-time sections).
>
> So we go from handling .rodata.str1.{1,2,3,8}
> to .rodata.str{1,2,4}.{1,2,4,8,16}?
These plus .rodata.cst{1,2,4,8,16}.
Jan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-12 14:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-12 9:00 [PATCH] extend list of sections convertible to .init.* ones in init-only objects Jan Beulich
2015-01-12 14:03 ` Ian Campbell
2015-01-12 14:07 ` Jan Beulich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.