about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2020-07-15 16:50:02 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2020-10-12 16:52:41 +0100
commitafc53d52dc0f36bf5e0970c9cca4649a7cef72bd (patch)
treef2457299c1badf130162261296fb70b70e315045 /sysdeps
parentd59630f9959b0bb8991964758ab854ff4378b20d (diff)
downloadglibc-afc53d52dc0f36bf5e0970c9cca4649a7cef72bd.tar.gz
glibc-afc53d52dc0f36bf5e0970c9cca4649a7cef72bd.tar.xz
glibc-afc53d52dc0f36bf5e0970c9cca4649a7cef72bd.zip
AArch64: Align ENTRY to a cacheline
Given almost all uses of ENTRY are for string/memory functions,
align ENTRY to a cacheline to simplify things.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit 34f0d01d5e43c7dedd002ab47f6266dfb5b79c22)
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/aarch64/sysdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h
index d3ff685895..f99554492f 100644
--- a/sysdeps/aarch64/sysdep.h
+++ b/sysdeps/aarch64/sysdep.h
@@ -45,7 +45,7 @@
 #define ENTRY(name)						\
   .globl C_SYMBOL_NAME(name);					\
   .type C_SYMBOL_NAME(name),%function;				\
-  .align 4;							\
+  .p2align 6;							\
   C_LABEL(name)							\
   cfi_startproc;						\
   CALL_MCOUNT