Difficulty in compiling(unsupported relocation against csrr0.)

Bradley Remedios bremedios@gmail.com
Wed Sep 15 18:05:00 GMT 2004


On Wed, 15 Sep 2004 13:32:05 +0930, Alan Modra <amodra@bigpond.net.au> wrote:
> gas does not have built-in support for these register names.  If you
> want to use them in your code, I suggest defining the values yourself,
> eg.
> 
> csrr0 = 58
> 
>       mtspr csrr0, r9

Thanks a lot for you help, it is all working now.

Regards,
-- 
Bradley Remedios
bremedios@gmail.com



More information about the Binutils mailing list