This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Difficulty in compiling(unsupported relocation against csrr0.)
- From: Bradley Remedios <bremedios at gmail dot com>
- To: Bradley Remedios <bremedios at gmail dot com>, binutils at sources dot redhat dot com
- Date: Wed, 15 Sep 2004 11:05:49 -0700
- Subject: Re: Difficulty in compiling(unsupported relocation against csrr0.)
- References: <963b3387040914133713b54c6c@mail.gmail.com> <20040915040205.GF27474@bubble.modra.org>
- Reply-to: Bradley Remedios <bremedios at gmail dot com>
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