36c36
< __FBSDID("$FreeBSD: head/lib/libc/mips/string/index.S 178580 2008-04-26 12:08:02Z imp $");
---
> __FBSDID("$FreeBSD: head/lib/libc/mips/string/index.S 209231 2010-06-16 12:55:14Z jchandra $");
49,52c49,52
< lbu a2, 0(a0) # get a byte
< addu a0, a0, 1
< beq a2, a1, fnd
< bne a2, zero, 1b
---
> lbu a2, 0(a0) # get a byte
> PTR_ADDU a0, a0, 1
> beq a2, a1, fnd
> bne a2, zero, 1b
54,55c54,55
< move v0, zero
< j ra
---
> move v0, zero
> j ra
57,58c57,58
< subu v0, a0, 1
< j ra
---
> PTR_SUBU v0, a0, 1
> j ra
< __FBSDID("$FreeBSD: head/lib/libc/mips/string/index.S 178580 2008-04-26 12:08:02Z imp $");
---
> __FBSDID("$FreeBSD: head/lib/libc/mips/string/index.S 209231 2010-06-16 12:55:14Z jchandra $");
49,52c49,52
< lbu a2, 0(a0) # get a byte
< addu a0, a0, 1
< beq a2, a1, fnd
< bne a2, zero, 1b
---
> lbu a2, 0(a0) # get a byte
> PTR_ADDU a0, a0, 1
> beq a2, a1, fnd
> bne a2, zero, 1b
54,55c54,55
< move v0, zero
< j ra
---
> move v0, zero
> j ra
57,58c57,58
< subu v0, a0, 1
< j ra
---
> PTR_SUBU v0, a0, 1
> j ra