about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-12-20 10:39:36 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2017-12-20 12:05:32 +0000
commit4e00196912e63bd44f9a62a88a0f5c5fde25ad86 (patch)
tree31523eb1042f495936af84d49518e3139bf630fa
parent8a26ad2ab7396bc94fd3cd7b25cba433908d30e1 (diff)
downloadglibc-4e00196912e63bd44f9a62a88a0f5c5fde25ad86.tar.gz
glibc-4e00196912e63bd44f9a62a88a0f5c5fde25ad86.tar.xz
glibc-4e00196912e63bd44f9a62a88a0f5c5fde25ad86.zip
aarch64: fix memset with --disable-multi-arch
	* sysdeps/aarch64/memset.S (MEMSET): Define.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/aarch64/memset.S4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index de2ee3f779..15e6cb6543 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-12-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+	* sysdeps/aarch64/memset.S (MEMSET): Define.
+
 2017-12-20  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #22635]
diff --git a/sysdeps/aarch64/memset.S b/sysdeps/aarch64/memset.S
index 45fb0a86a9..7f5127f672 100644
--- a/sysdeps/aarch64/memset.S
+++ b/sysdeps/aarch64/memset.S
@@ -19,6 +19,10 @@
 #include <sysdep.h>
 #include "memset-reg.h"
 
+#ifndef MEMSET
+# define MEMSET memset
+#endif
+
 /* Assumptions:
  *
  * ARMv8-a, AArch64, unaligned accesses