commit | b9244ff551d3ca90f50635f733950c9c860fff8a | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Sat Aug 11 10:12:13 2018 -0700 |
committer | Haibo Huang <hhb@google.com> | Tue Nov 13 13:48:23 2018 -0800 |
tree | 2e38ae33f3927fbced3d742803c55e19a8c6354a | |
parent | 17c4bd9e5966e36352bfe93832e6cdccf5755a49 [diff] [blame] |
Use ifunc to dynamically dispatch libc routines for x86 Test: run bionic unit test in aosp_cf_x86_phone emulator Change-Id: Ib0c0de37cd38d24bfce2dfbe35b8fd8edff004af
diff --git a/libc/arch-x86/generic/string/memcmp.S b/libc/arch-x86/generic/string/memcmp.S index ef36b4f..1d327c7 100644 --- a/libc/arch-x86/generic/string/memcmp.S +++ b/libc/arch-x86/generic/string/memcmp.S
@@ -6,7 +6,7 @@ #include <private/bionic_asm.h> -ENTRY(memcmp) +ENTRY(memcmp_generic) pushl %edi pushl %esi movl 12(%esp),%edi @@ -41,4 +41,4 @@ popl %esi popl %edi ret -END(memcmp) +END(memcmp_generic)