Re: [PATCH 1/2] arc: rename xCCM sections so they are not merged in global .data/.text

2017-01-09 Thread Alexey Brodkin
Hi Vineet, On Thu, 2016-12-22 at 16:25 -0800, Vineet Gupta wrote: > On 12/22/2016 06:09 AM, Alexey Brodkin wrote: > > diff --git a/arch/arc/include/asm/linkage.h b/arch/arc/include/asm/linkage.h > > index b29f1a9fd6f7..3a5f13d65ee1 100644 > > --- a/arch/arc/include/asm/linkage.h > > +++ b/arch/arc

Re: [PATCH 1/2] arc: rename xCCM sections so they are not merged in global .data/.text

2016-12-22 Thread Vineet Gupta
On 12/22/2016 06:09 AM, Alexey Brodkin wrote: > If Linux kernel is compiled with "-ffunction-sections" each function is > placed in > its own section named ".text.function_name". This is required for > discarding of not-used functions during final linkage. But in the end > all ".text.XXX" sections

[PATCH 1/2] arc: rename xCCM sections so they are not merged in global .data/.text

2016-12-22 Thread Alexey Brodkin
If Linux kernel is compiled with "-ffunction-sections" each function is placed in its own section named ".text.function_name". This is required for discarding of not-used functions during final linkage. But in the end all ".text.XXX" sections are merged in the global ".text" section of vmlinux Elf