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-07-15 16:50:02 +0100
commit34f0d01d5e43c7dedd002ab47f6266dfb5b79c22 (patch)
treeac69e41969ec830dd9073cf7d599bd77d0dee033 /sysdeps
parentf896fc0f2bfc9f3f8df0563a7c99dcbf24bab655 (diff)
downloadglibc-34f0d01d5e43c7dedd002ab47f6266dfb5b79c22.tar.gz
glibc-34f0d01d5e43c7dedd002ab47f6266dfb5b79c22.tar.xz
glibc-34f0d01d5e43c7dedd002ab47f6266dfb5b79c22.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>
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 ae269146e3..2d802db008 100644
--- a/sysdeps/aarch64/sysdep.h
+++ b/sysdeps/aarch64/sysdep.h
@@ -98,7 +98,7 @@ GNU_PROPERTY (FEATURE_1_AND, FEATURE_1_BTI)
 #define ENTRY(name)						\
   .globl C_SYMBOL_NAME(name);					\
   .type C_SYMBOL_NAME(name),%function;				\
-  .align 4;							\
+  .p2align 6;							\
   C_LABEL(name)							\
   cfi_startproc;						\
   BTI_C;							\