HomeFreeBSD

Revert "amd64: implement strlen in assembly"

Description

Revert "amd64: implement strlen in assembly"

This reverts commit af366d353b84bdc4e730f0fc563853abc338271c.

Trips over '\xa4' byte and terminates early, as found in
lib/libc/gen/setdomainname_test:setdomainname_basic testcase

However, keep moving libkern/strlen.c out of conf/files.

Reported by: lwhsu

Details

Provenance
mjgAuthored on Feb 9 2021, 3:18 PM
Parents
rGec090f4a6765: arm32: Align arguments of sync_icache() syscall to cacheline size.
Branches
Unknown
Tags
Unknown
Reverts
rGaf366d353b84: amd64: implement strlen in assembly