3 ms·
Interestingly, they have the OpenBSD version that does word-size assignments in asm for x86/arm. wonder why it wasn't being used. http://android.git.kernel.or
by audidude 16y ago
Interestingly, they have the OpenBSD version that does word-size assignments in asm for x86/arm. wonder why it wasn't being used.
http://android.git.kernel.org/?p=platform/bionic.git;a=blob;f=libc/arch-x86/string/memset.S;h=1059ccc99516e277af6e04ebc7b078c4f37d2e6d;hb=HEAD http://android.git.kernel.org/?p=platform/bionic.git;a=blob;...
http://android.git.kernel.org/?p=platform/bionic.git;a=blob;f=libc/arch-arm/bionic/memset.S;h=93abe15a2f9eb647c5d282310f5c7cf241457cd6;hb=HEAD http://android.git.kernel.org/?p=platform/bionic.git;a=blob;...
- fhars 16y agoIt was. That's why this bug hasn't been caught before: the buggy code was never actually compiled as part of a production build. Real builds always use the version optimized for the actual hardware platform.