This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 09/15] microblaze: Avoid clobbering register parameters in syscall
On 11/02/2020 08:21, Florian Weimer wrote:
> * Adhemerval Zanella:
>
>> The microblaze INTERNAL_SYSCALL macro might clobber the register
>> parameter if the argument itself might clobber any register (a function
>> call for instance).
>>
>> This patch fixes it by using temporary variables for the expressions
>> between the register assignments (as indicated by GCC documentation,
>> 6.47.5.2 Specifying Registers for Local Variables).
>>
>> It is similar to the fix done for MIPS (BZ#25523).
>
> (bug 25523) for the bug reference, so that it will be recognized by the
> commit hook. Rest looks good.
Ack.