diff options
Diffstat (limited to 'libc/string/arm')
-rw-r--r-- | libc/string/arm/bcopy.S | 4 | ||||
-rw-r--r-- | libc/string/arm/bzero.S | 4 | ||||
-rw-r--r-- | libc/string/arm/memcmp.S | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/libc/string/arm/bcopy.S b/libc/string/arm/bcopy.S index 0e559225f..db3c9e6c1 100644 --- a/libc/string/arm/bcopy.S +++ b/libc/string/arm/bcopy.S @@ -41,6 +41,8 @@ #include <features.h> +#ifdef __UCLIBC_SUSV3_LEGACY__ + .text .global bcopy .type bcopy,%function @@ -54,3 +56,5 @@ bcopy: b _memcpy /* (PLT) */ .size bcopy,.-bcopy + +#endif diff --git a/libc/string/arm/bzero.S b/libc/string/arm/bzero.S index c1eb93323..ee49cf560 100644 --- a/libc/string/arm/bzero.S +++ b/libc/string/arm/bzero.S @@ -39,6 +39,8 @@ #include <features.h> +#ifdef __UCLIBC_SUSV3_LEGACY__ + .text .global bzero .type bzero,%function @@ -50,3 +52,5 @@ bzero: b HIDDEN_JUMPTARGET(memset) .size bzero,.-bzero + +#endif diff --git a/libc/string/arm/memcmp.S b/libc/string/arm/memcmp.S index af1b876ed..4f78b5128 100644 --- a/libc/string/arm/memcmp.S +++ b/libc/string/arm/memcmp.S @@ -63,4 +63,6 @@ memcmp: .size memcmp,.-memcmp libc_hidden_def(memcmp) +#ifdef __UCLIBC_SUSV3_LEGACY__ strong_alias(memcmp,bcmp) +#endif |