Displaying 2 results from an estimated 2 matches for "300ff4e".
Did you mean:
00ff40
2012 May 22
0
[klibc:master] include: [sys/elfcommon.h] define STN_UNDEF
..._UNDEF
Noticed while trying to compile kexec against klibc.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/include/sys/elfcommon.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/usr/include/sys/elfcommon.h b/usr/include/sys/elfcommon.h
index ad5e459..300ff4e 100644
--- a/usr/include/sys/elfcommon.h
+++ b/usr/include/sys/elfcommon.h
@@ -147,6 +147,9 @@
#define SHN_COMMON 0xfff2
#define SHN_HIRESERVE 0xffff
+/* End of a chain. */
+#define STN_UNDEF 0
+
/* Lenght of magic at the start of a file */
#define EI_NIDENT 16
2014 Jan 25
0
[klibc:master] auxv: convert auxiliary vector into an array; define getauxval()
...VAL_MAX AT_SYSINFO_EHDR
+
+__extern unsigned long __auxval[_AUXVAL_MAX];
+
+__static_inline unsigned long getauxval(unsigned long __t)
+{
+ return (__t >= _AUXVAL_MAX) ? 0 : __auxval[__t];
+}
+
+#endif /* _SYS_AUXV_H */
diff --git a/usr/include/sys/elfcommon.h b/usr/include/sys/elfcommon.h
index 300ff4e..603b0ce 100644
--- a/usr/include/sys/elfcommon.h
+++ b/usr/include/sys/elfcommon.h
@@ -107,6 +107,8 @@
#define AT_CLKTCK 17 /* frequency at which times() increments */
/* 18..22 = ? */
#define AT_SECURE 23 /* secure mode boolean */
+#define AT_SYSINFO 32 /* vdso entry point address */
+#defin...