Add missing AT tags to the ELF common header.
authorLuis Machado <luis.machado@linaro.org>
Tue, 3 Mar 2020 13:13:53 +0000 (13:13 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 3 Mar 2020 13:13:53 +0000 (13:13 +0000)
* elf/common.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY)
(AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE)
(AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY)
(AT_MINSIGSTKSZ): New defines, imported from glibc.

include/ChangeLog
include/elf/common.h

index a821ac617f5fd374faeb2711ee0684601c044760..8659ef4daf0bdcff78b30f124b399001960bff80 100644 (file)
@@ -1,3 +1,10 @@
+2020-03-03  Luis Machado  <luis.machado@linaro.org>
+
+       * elf/common.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY)
+       (AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE)
+       (AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY)
+       (AT_MINSIGSTKSZ): New defines, imported from glibc.
+
 2020-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        Import from gcc mainline:
index 53b72445cafd079c16e7742ab4a72e6d2a2b68d3..18c898cf6bf7d75e490aee6059b11378a51d0a34 100644 (file)
 #define AT_L2_CACHESHAPE  36
 #define AT_L3_CACHESHAPE  37
 
+/* Shapes of the caches, with more room to describe them.
+   *GEOMETRY are comprised of cache line size in bytes in the bottom 16 bits
+   and the cache associativity in the next 16 bits.  */
+#define AT_L1I_CACHESIZE       40
+#define AT_L1I_CACHEGEOMETRY   41
+#define AT_L1D_CACHESIZE       42
+#define AT_L1D_CACHEGEOMETRY   43
+#define AT_L2_CACHESIZE                44
+#define AT_L2_CACHEGEOMETRY    45
+#define AT_L3_CACHESIZE                46
+#define AT_L3_CACHEGEOMETRY    47
+
+#define AT_MINSIGSTKSZ         51 /* Stack needed for signal delivery
+                                     (AArch64).  */
+
 #define AT_FREEBSD_EXECPATH     15      /* Path to the executable. */
 #define AT_FREEBSD_CANARY       16      /* Canary for SSP. */
 #define AT_FREEBSD_CANARYLEN    17      /* Length of the canary. */