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] |
On 05/14/2018 07:14 AM, Vincent Chen wrote:
On Sat, May 12, 2018 at 03:15:39PM +0800, Florian Weimer wrote:On 05/06/2018 04:41 PM, vincentc wrote:+ $r26 - $r27 are temp registers for OS - no need to save.Shouldn't you save them in case you decide to use them for a thread pointer eventually or something like that? Thanks, FlorianWe do not save $r26, $r27 these two registers because these two register are reserved for kernel space. In other words, these two registers shall not be used in user space. Therefore, we needn't save these two registers to jmp_buf.
Okay, in this case, you could update the register list at the top of the file. Perhaps also mention the register used for the thread pointer?
Thanks, Florian
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |