[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: r13 in the kernel
Matt Thomas wrote:
>> Is it really safe to do so? IIRC the V.4-ABI defines r13 as small data
>> base register, but when small data is not used it should be a normal
>> non-volatile register, like r14 - r31.
>> The kernel is compiled with -msdata=none.
> Yes. From gcc rs6000.h:
> On System V implementations, r13 is fixed and not available for use.
Hmm.. ok, then I remembered wrong.
Indeed, I found no bad usage of r13 while scanning through a disassembled
Main Index |
Thread Index |