PERFORCE change 105545 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Sat Sep 2 16:23:14 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=105545
Change 105545 by gonzo at gonzo_hideout on 2006/09/02 16:22:27
o Add _mips_enter_uts stub
o change .weak/.set with WEAK_ALIAS macro.
Affected files ...
.. //depot/projects/mips2/src/lib/libpthread/arch/mips/mips/context.S#3 edit
Differences ...
==== //depot/projects/mips2/src/lib/libpthread/arch/mips/mips/context.S#3 (text+ko) ====
@@ -35,13 +35,14 @@
* Returns 0 if there are no errors; -1 otherwise
*/
-.weak _C_LABEL(_thr_setcontext)
-.set _C_LABEL(_thr_setcontext), _C_LABEL(__thr_setcontext)
LEAF(__thr_setcontext)
-/* Check for NULL pointer. */
+WEAK_ALIAS(_thr_setcontext, __thr_setcontext)
+ # XXXMIPS: implement me
+ /* Check for NULL pointer. */
j ra
/* XXX: FP bits ? */
+END(__thr_setcontext)
/*
* int thr_getcontext(mcontext_t *mcp);
@@ -49,9 +50,16 @@
* Returns -1 if there is an error, 0 no errors; 1 upon return
* from a setcontext().
*/
-.weak _C_LABEL(_thr_getcontext)
-.set _C_LABEL(_thr_getcontext), _C_LABEL(__thr_getcontext)
-
LEAF(__thr_getcontext)
-/* Check for NULL pointer. */
+WEAK_ALIAS(_thr_getcontext, __thr_getcontext)
+ # XXXMIPS: implement me
+ /* Check for NULL pointer. */
+ j ra
+END(__thr_getcontext)
+
+LEAF(_mips_enter_uts)
+ # XXXMIPS: implement me
j ra
+END(_mips_enter_uts)
+
+
More information about the p4-projects
mailing list