[klibc] [klibc:master] include: [sys/elfcommon.h] define STN_UNDEF

klibc-bot for maximilian attems max at stro.at
Tue May 22 10:21:02 PDT 2012


Commit-ID:  01b7dde0664ef67eada14dc163d015eb603fda74
Gitweb:     http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=01b7dde0664ef67eada14dc163d015eb603fda74
Author:     maximilian attems <max at stro.at>
AuthorDate: Tue, 22 May 2012 19:15:44 +0200
Committer:  maximilian attems <max at stro.at>
CommitDate: Tue, 22 May 2012 19:15:44 +0200

[klibc] include: [sys/elfcommon.h] define STN_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
 


More information about the klibc mailing list