Re: Error: unknown pseudo-op: `.arch_extension'

2017-04-20 Thread Jeffrey Walton
> I don't see any easy solution for you at the moment, you need a > binutils/gcc upgrade, or you need to put crc code in separate files. > Or you could force all files to be compiled with -mcpu=generic, and > then you can use .cpu to add/remove crc support as necessary. Thanks Jim. This came from

Re: Error: unknown pseudo-op: `.arch_extension'

2017-04-20 Thread Jim Wilson
On Wed, Apr 19, 2017 at 11:35 PM, Jeffrey Walton wrote: > On Wed, Apr 19, 2017 at 9:57 PM, Jim Wilson wrote: >> On Wed, Apr 19, 2017 at 12:38 PM, Jeffrey Walton wrote: > The thing I am not sure about is saving and restoring the cpu.

Re: Error: unknown pseudo-op: `.arch_extension'

2017-04-20 Thread Jeffrey Walton
On Wed, Apr 19, 2017 at 9:57 PM, Jim Wilson wrote: > On Wed, Apr 19, 2017 at 12:38 PM, Jeffrey Walton wrote: >> According to [1], I can use ".arch_extension" to enable it. According >> to [2], ".arch_extension" is available in GCC 4.6 and GAS 2.21. My

Re: Error: unknown pseudo-op: `.arch_extension'

2017-04-19 Thread Jim Wilson
On Wed, Apr 19, 2017 at 12:38 PM, Jeffrey Walton wrote: > According to [1], I can use ".arch_extension" to enable it. According > to [2], ".arch_extension" is available in GCC 4.6 and GAS 2.21. My > version of Linaro provides GCC 4.9.2 and GAS 2.25.90. I can also > duplicate