Subject: CVS commit: [nathanw_sa] basesrc/lib/libpthread/arch/arm
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 11/22/2001 08:21:36
Module Name: basesrc
Committed By: thorpej
Date: Thu Nov 22 06:21:36 UTC 2001
Modified Files:
basesrc/lib/libpthread/arch/arm [nathanw_sa]: _context_u.S
Log Message:
In the GETC() macro, don't actually save r14 (lr) and r15 (pc).
r14 is caller-save, so we don't need to save it in the _REG_LR
slot. Instead, we save it in the _REG_PC slot so that when the
context is resumed, we end up at the insn after the call site.
Fixes the "cu6" test in Nathan's test suite. "cu1" - "cu5" also
function correctly (as they did before this change).
To generate a diff of this commit:
cvs rdiff -r1.1.2.5 -r1.1.2.6 basesrc/lib/libpthread/arch/arm/_context_u.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.