Re: [RFC, PATCH, v3.9] default exported asm symbols to zero

2016-12-03 Thread Arnd Bergmann
On Saturday, December 3, 2016 4:36:37 AM CET Ben Hutchings wrote: > On Fri, 2016-12-02 at 13:40 +0100, Arnd Bergmann wrote: > > With binutils-2.16 and before, a weak missing symbol was kept during the > > final link, and a missing CRC for an export would lead to that CRC > > being treated as zero i

Re: [RFC, PATCH, v3.9] default exported asm symbols to zero

2016-12-02 Thread Ben Hutchings
On Fri, 2016-12-02 at 13:40 +0100, Arnd Bergmann wrote: > With binutils-2.16 and before, a weak missing symbol was kept during the > final link, and a missing CRC for an export would lead to that CRC > being treated as zero implicitly. With binutils-2.17, the crc > symbol gets dropped, and any modu

Re: [RFC, PATCH, v3.9] default exported asm symbols to zero

2016-12-02 Thread Adam Borowski
On Fri, Dec 02, 2016 at 01:40:27PM +0100, Arnd Bergmann wrote: > With binutils-2.16 and before, a weak missing symbol was kept during the > final link, and a missing CRC for an export would lead to that CRC > being treated as zero implicitly. With binutils-2.17, the crc > symbol gets dropped, and a

Re: [RFC, PATCH, v3.9] default exported asm symbols to zero

2016-12-02 Thread Arnd Bergmann
On Friday, December 2, 2016 1:59:15 PM CET Geert Uytterhoeven wrote: > On Fri, Dec 2, 2016 at 1:40 PM, Arnd Bergmann wrote: > > With binutils-2.16 and before, a weak missing symbol was kept during the > > 2.26? > > > final link, and a missing CRC for an export would lead to that CRC > > being tr

Re: [RFC, PATCH, v3.9] default exported asm symbols to zero

2016-12-02 Thread Geert Uytterhoeven
On Fri, Dec 2, 2016 at 1:40 PM, Arnd Bergmann wrote: > With binutils-2.16 and before, a weak missing symbol was kept during the 2.26? > final link, and a missing CRC for an export would lead to that CRC > being treated as zero implicitly. With binutils-2.17, the crc 2.27? > symbol gets dropped

[RFC, PATCH, v3.9] default exported asm symbols to zero

2016-12-02 Thread Arnd Bergmann
With binutils-2.16 and before, a weak missing symbol was kept during the final link, and a missing CRC for an export would lead to that CRC being treated as zero implicitly. With binutils-2.17, the crc symbol gets dropped, and any module trying to use it will fail to load. This sets the weak CRC s