Re: [PATCH v10 15/17] kernel: add support for .init_array.* constructors

2015-01-30 Thread Andrey Ryabinin
On 01/30/2015 02:13 AM, Andrew Morton wrote: > On Thu, 29 Jan 2015 18:11:59 +0300 Andrey Ryabinin > wrote: > >> KASan uses constructors for initializing redzones for global >> variables. Actually KASan doesn't need priorities for constructors, >> so they were removed from GCC 5.0, but GCC 4.9.2

Re: [PATCH v10 15/17] kernel: add support for .init_array.* constructors

2015-01-30 Thread Andrey Ryabinin
On 01/30/2015 02:13 AM, Andrew Morton wrote: On Thu, 29 Jan 2015 18:11:59 +0300 Andrey Ryabinin a.ryabi...@samsung.com wrote: KASan uses constructors for initializing redzones for global variables. Actually KASan doesn't need priorities for constructors, so they were removed from GCC 5.0,

Re: [PATCH v10 15/17] kernel: add support for .init_array.* constructors

2015-01-29 Thread Andrew Morton
On Thu, 29 Jan 2015 18:11:59 +0300 Andrey Ryabinin wrote: > KASan uses constructors for initializing redzones for global > variables. Actually KASan doesn't need priorities for constructors, > so they were removed from GCC 5.0, but GCC 4.9.2 still generates > constructors with priorities. I

[PATCH v10 15/17] kernel: add support for .init_array.* constructors

2015-01-29 Thread Andrey Ryabinin
KASan uses constructors for initializing redzones for global variables. Actually KASan doesn't need priorities for constructors, so they were removed from GCC 5.0, but GCC 4.9.2 still generates constructors with priorities. Signed-off-by: Andrey Ryabinin --- include/asm-generic/vmlinux.lds.h |

[PATCH v10 15/17] kernel: add support for .init_array.* constructors

2015-01-29 Thread Andrey Ryabinin
KASan uses constructors for initializing redzones for global variables. Actually KASan doesn't need priorities for constructors, so they were removed from GCC 5.0, but GCC 4.9.2 still generates constructors with priorities. Signed-off-by: Andrey Ryabinin a.ryabi...@samsung.com ---

Re: [PATCH v10 15/17] kernel: add support for .init_array.* constructors

2015-01-29 Thread Andrew Morton
On Thu, 29 Jan 2015 18:11:59 +0300 Andrey Ryabinin a.ryabi...@samsung.com wrote: KASan uses constructors for initializing redzones for global variables. Actually KASan doesn't need priorities for constructors, so they were removed from GCC 5.0, but GCC 4.9.2 still generates constructors with