This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Difficulty in compiling(unsupported relocation against csrr0.)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]