File:
[DVB] /
dietlibc /
i386 /
strchr.S
Revision
1.5:
download - view:
text,
annotated -
select for diffs
Mon Oct 29 15:09:33 2001 UTC (22 years, 7 months ago) by
olaf
Branches:
MAIN
CVS tags:
finnland_test_200301,
branch_rc14_fieldtest_finnland,
branch_rc13_fieldtest_finnland,
branch_rc12_fieldtest_finnland,
branch_rc10_fieldtest_finnland,
RELEASE_finnland_200301_1,
RC12_FIELDTEST_FINNLAND,
RC10_FIELDTEST_FINNLAND,
HEAD
fixed some function-types... (now the symbol-tables in the *.so are correct)
.text
.type strchr,@function
.global strchr
.weak index
.type index,@function
index:
strchr:
movl 4(%esp),%ecx
movb 8(%esp),%dl
.Lloop:
movb (%ecx),%al
cmpb %al,%dl
jz .Lfound
incl %ecx
testb %al,%al
jnz .Lloop
xorl %ecx,%ecx
.Lfound:
movl %ecx,%eax
ret
LinuxTV legacy CVS <linuxtv.org/cvs>