Re: [PATCH] powerpc: module: fix TOC symbol CRC

2014-06-24 Thread Laurent Dufour
On 24/06/2014 06:06, Benjamin Herrenschmidt wrote: > On Thu, 2014-06-19 at 09:44 +1000, Anton Blanchard wrote: >> Hi Laurent, >> >>> The commit 71ec7c55ed91 introduced the magic symbol ".TOC." for ELFv2 >>> ABI. This symbol is built manually and has no CRC value computed. A >>> zero value is put in

Re: [PATCH] powerpc: module: fix TOC symbol CRC

2014-06-23 Thread Benjamin Herrenschmidt
On Thu, 2014-06-19 at 09:44 +1000, Anton Blanchard wrote: > Hi Laurent, > > > The commit 71ec7c55ed91 introduced the magic symbol ".TOC." for ELFv2 > > ABI. This symbol is built manually and has no CRC value computed. A > > zero value is put in the CRC section to avoid modpost complaining > > abou

Re: [PATCH] powerpc: module: fix TOC symbol CRC

2014-06-18 Thread Anton Blanchard
Hi Laurent, > The commit 71ec7c55ed91 introduced the magic symbol ".TOC." for ELFv2 > ABI. This symbol is built manually and has no CRC value computed. A > zero value is put in the CRC section to avoid modpost complaining > about a missing CRC. Unfortunately, this breaks the kernel module > loadi

[PATCH] powerpc: module: fix TOC symbol CRC

2014-06-17 Thread Laurent Dufour
The commit 71ec7c55ed91 introduced the magic symbol ".TOC." for ELFv2 ABI. This symbol is built manually and has no CRC value computed. A zero value is put in the CRC section to avoid modpost complaining about a missing CRC. Unfortunately, this breaks the kernel module loading when the kernel is re