Re: [Xen-devel] [RFC v3 05/13] sections.h: add sections header to collect all section info

2016-07-29 Thread Steven Rostedt
On Fri, 22 Jul 2016 22:37:16 +0100 James Hogan wrote: > > --- /dev/null > > +++ b/arch/alpha/include/asm/sections.h > > @@ -0,0 +1,6 @@ > > +#ifndef _ASM_ALPHA_SECTIONS_H > > +#define _ASM_ALPHA_SECTIONS_H > > + > > +#include > > + > > +#endif /* _ASM_ALPHA_SECTIONS_H

Re: [Xen-devel] [RFC v3 05/13] sections.h: add sections header to collect all section info

2016-07-22 Thread Luis R. Rodriguez
On Fri, Jul 22, 2016 at 10:37:16PM +0100, James Hogan wrote: > Hi Luis, > > On Friday 22 July 2016 14:24:39 Luis R. Rodriguez wrote: > > arch/alpha/include/asm/sections.h | 6 + > > arch/arm64/include/asm/sections.h | 6 + > > arch/avr32/include/asm/sections.h | 6 + > >

Re: [Xen-devel] [RFC v3 05/13] sections.h: add sections header to collect all section info

2016-07-22 Thread James Hogan
Hi Luis, On Friday 22 July 2016 14:24:39 Luis R. Rodriguez wrote: > arch/alpha/include/asm/sections.h | 6 + > arch/arm64/include/asm/sections.h | 6 + > arch/avr32/include/asm/sections.h | 6 + > arch/cris/include/asm/sections.h | 6 + >

[Xen-devel] [RFC v3 05/13] sections.h: add sections header to collect all section info

2016-07-22 Thread Luis R. Rodriguez
Linux makes extensive use of custom ELF header sections, documentation for these are well scatterred. Unify this documentation in a central place and provide helpers to build custom Linux sections. We are now generalizing sections.h in code to enable avoiding modifying the linker when we want to