This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: GNU C Library master sources branch master updated. glibc-2.25-699-g7023e6d
- From: John David Anglin <dave dot anglin at bell dot net>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: danglin at sourceware dot org, libc-alpha at sourceware dot org
- Date: Sun, 16 Jul 2017 11:31:27 -0400
- Subject: Re: GNU C Library master sources branch master updated. glibc-2.25-699-g7023e6d
- Authentication-results: sourceware.org; auth=none
- References: <20170709174906.112487.qmail@sourceware.org> <87h8ylphv1.fsf@linux-m68k.org>
On 2017-07-09, at 2:47 PM, Andreas Schwab wrote:
> On Jul 09 2017, danglin@sourceware.org wrote:
>
>> diff --git a/sysdeps/hppa/__longjmp.c b/sysdeps/hppa/__longjmp.c
>> index a7eefc7..438db01 100644
>> --- a/sysdeps/hppa/__longjmp.c
>> +++ b/sysdeps/hppa/__longjmp.c
>> @@ -24,15 +24,16 @@
>> void
>> __longjmp (__jmp_buf env, int val)
>> {
>> +#ifdef CHECK_SP
>> + CHECK_SP (env[0].__jmp_buf.__sp);
>> +#endif
>> +
>> + {
>> /* We must use one of the non-callee saves registers
>> for env. */
>> register unsigned long r26 asm ("r26") = (unsigned long)&env[0];
>> register unsigned long r25 asm ("r25") = (unsigned long)(val == 0 ? 1 : val);
>>
>> -#ifdef CHECK_SP
>> - CHECK_SP (env[0].__jmp_buf.__sp);
>> -#endif
>> -
>> asm volatile(
>> /* Set return value. */
>> "copy %0, %%r28\n\t"
>> @@ -79,6 +80,8 @@ __longjmp (__jmp_buf env, int val)
>> : /* No outputs. */
>> : "r" (r25), "r" (r26)
>> : /* No point in clobbers. */ );
>> + }
>> +
>
> There is no need for the extra braces.
Done.
Dave
--
John David Anglin dave.anglin@bell.net