]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
AArch64: Align ENTRY to a cacheline
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 15 Jul 2020 15:50:02 +0000 (16:50 +0100)
committerWilco Dijkstra <wdijkstr@arm.com>
Wed, 14 Oct 2020 16:29:12 +0000 (17:29 +0100)
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)

sysdeps/aarch64/sysdep.h

index 5b30709436d3acea7440bc5e44893a089abb3aad..509e3e14c5ba597dcfb9b15675c10378ff65d5a3 100644 (file)
@@ -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