Re: [RFC PATCH 4/4] kernel: add support for init_array constructors

2013-08-23 Thread Frantisek Hrbata
On Fri, Aug 23, 2013 at 05:13:31PM +0200, Peter Oberparleiter wrote: > On 23.08.2013 10:39, Frantisek Hrbata wrote: > > This adds the .init_array section as yet another section with constructors. > > This > > is needed because gcc is adding __gcov_init calls to .init_array. > > > >

Re: [RFC PATCH 4/4] kernel: add support for init_array constructors

2013-08-23 Thread Peter Oberparleiter
On 23.08.2013 10:39, Frantisek Hrbata wrote: > This adds the .init_array section as yet another section with constructors. > This > is needed because gcc is adding __gcov_init calls to .init_array. > > Signed-off-by: Frantisek Hrbata > --- > include/asm-generic/vmlinux.lds.h | 1 + >

[RFC PATCH 4/4] kernel: add support for init_array constructors

2013-08-23 Thread Frantisek Hrbata
This adds the .init_array section as yet another section with constructors. This is needed because gcc is adding __gcov_init calls to .init_array. Signed-off-by: Frantisek Hrbata --- include/asm-generic/vmlinux.lds.h | 1 + include/linux/module.h| 2 ++ kernel/module.c

[RFC PATCH 4/4] kernel: add support for init_array constructors

2013-08-23 Thread Frantisek Hrbata
This adds the .init_array section as yet another section with constructors. This is needed because gcc is adding __gcov_init calls to .init_array. Signed-off-by: Frantisek Hrbata fhrb...@redhat.com --- include/asm-generic/vmlinux.lds.h | 1 + include/linux/module.h| 2 ++

Re: [RFC PATCH 4/4] kernel: add support for init_array constructors

2013-08-23 Thread Peter Oberparleiter
On 23.08.2013 10:39, Frantisek Hrbata wrote: This adds the .init_array section as yet another section with constructors. This is needed because gcc is adding __gcov_init calls to .init_array. Signed-off-by: Frantisek Hrbata fhrb...@redhat.com --- include/asm-generic/vmlinux.lds.h | 1 +

Re: [RFC PATCH 4/4] kernel: add support for init_array constructors

2013-08-23 Thread Frantisek Hrbata
On Fri, Aug 23, 2013 at 05:13:31PM +0200, Peter Oberparleiter wrote: On 23.08.2013 10:39, Frantisek Hrbata wrote: This adds the .init_array section as yet another section with constructors. This is needed because gcc is adding __gcov_init calls to .init_array. Signed-off-by: Frantisek