[xtensa-cvscommit] linux/arch/xtensa/lib strnlen_user.S,1.1.1.1,1.2
Brought to you by:
zankel
|
From: <joe...@us...> - 2002-11-28 00:42:57
|
Update of /cvsroot/xtensa/linux/arch/xtensa/lib In directory sc8-pr-cvs1:/tmp/cvs-serv13939/arch/xtensa/lib Modified Files: strnlen_user.S Log Message: Remove potential unaligned access. Index: strnlen_user.S =================================================================== RCS file: /cvsroot/xtensa/linux/arch/xtensa/lib/strnlen_user.S,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** strnlen_user.S 28 Aug 2002 16:10:14 -0000 1.1.1.1 --- strnlen_user.S 28 Nov 2002 00:42:54 -0000 1.2 *************** *** 131,136 **** .L2mod4: # address is 2 mod 4 ! EX(l32i, a9, a4, 4, lenfixup) # get word with first two bytes of string ! addi a4, a4, 2 # advance string pointer bnone a9, a7, .Lz2 # if byte 2 (of word, not string) is zero bany a9, a8, .Laligned # if byte 3 (of word, not string) is nonzero --- 131,136 ---- .L2mod4: # address is 2 mod 4 ! addi a4, a4, 2 # advance ptr for aligned access ! EX(l32i, a9, a4, 0, lenfixup) # get word with first two bytes of string bnone a9, a7, .Lz2 # if byte 2 (of word, not string) is zero bany a9, a8, .Laligned # if byte 3 (of word, not string) is nonzero |