aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2012-05-22 19:15:44 +0200
committermaximilian attems <max@stro.at>2012-05-22 19:15:44 +0200
commit01b7dde0664ef67eada14dc163d015eb603fda74 (patch)
tree5e6fdedf3dcafe66b22f71b27ee69b2a1b767b4f
parent5576c967f86387f8a2eeeaa58d67f3cc6b51853a (diff)
downloadklibc-01b7dde0664ef67eada14dc163d015eb603fda74.tar.gz
[klibc] include: [sys/elfcommon.h] define STN_UNDEF
Noticed while trying to compile kexec against klibc. Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--usr/include/sys/elfcommon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/include/sys/elfcommon.h b/usr/include/sys/elfcommon.h
index ad5e45940d6466..300ff4e31dc9c9 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