aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@linaro.org>2020-03-03 13:13:53 +0000
committerNick Clifton <nickc@redhat.com>2020-03-03 13:13:53 +0000
commitb5ebe8ddf9c9cd1ce272cc9c7de528d41209be9f (patch)
tree7be203543a904f26cee74a03582daeb5f2da2868 /include/elf
parent8326546ebb46bba75a01e441960f408dd7ccdf2c (diff)
downloadgdb-b5ebe8ddf9c9cd1ce272cc9c7de528d41209be9f.zip
gdb-b5ebe8ddf9c9cd1ce272cc9c7de528d41209be9f.tar.gz
gdb-b5ebe8ddf9c9cd1ce272cc9c7de528d41209be9f.tar.bz2
Add missing AT tags to the ELF common header.
* 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.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 53b7244..18c898c 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -1222,6 +1222,21 @@
#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. */