Date: Sat, 2 Sep 2006 16:23:13 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 105545 for review Message-ID: <200609021623.k82GNDIR033250@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105545 Change 105545 by gonzo@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) + +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609021623.k82GNDIR033250>