This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH][SH] SH CFI directives patch, revised


Thomas Schwinge <thomas@codesourcery.com> wrote:
>> 3) The SYSCALL_ERROR_HANDLER macro in
>> sysdeps/unix/sysv/linux/sh/sysdep.h has been changed to use CFI
>> directives to mark r12's save/restore.  The RTLD_PRIVATE_ERRNO version
>> is not dealt with, because simply, r12 there is never saved.
> 
> Hmm, I don't quite understand how that code can get away with not
> preserving r12 -- Kaz, do you have an explanation?  The code in question:

I don't remember any explanation.  Maybe just my oversight.
I agree that r12 should be preserved there.

Regards,
	kaz


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