]> 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>
Mon, 12 Oct 2020 15:52:41 +0000 (16:52 +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 d3ff68589597cd58297a8630c9f9d45fb741988d..f99554492f0c2c6ed44c09df84f105b6b7ff512b 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