.type strstr,@function
strstr:
strstr_begin: #PIC doesn't seems to work well otherwise
pushl %edi
pushl %esi
movl 12(%esp),%esi # str
movl %esp,%ebp
pushl 12(%ebp) # search
pushl 8(%ebp) # str
call strstr
call strstr_begin # This should make the call relative fixing PIC issues
add $8,%esp
or %eax,%eax
jz si_99 # Not found, return NULL