[PATCH] minor ELF definitions addition
From: Jan Beulich
Date: Thu Sep 08 2005 - 09:29:57 EST
(Note: Patch also attached because the inline version is certain to get
line wrapped.)
A trivial addition to the EFL definitions.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
diff -Npru 2.6.13/include/linux/elf.h 2.6.13-elf/include/linux/elf.h
--- 2.6.13/include/linux/elf.h 2005-08-29 01:41:01.000000000 +0200
+++ 2.6.13-elf/include/linux/elf.h 2005-03-16 12:24:42.000000000
+0100
@@ -150,6 +150,8 @@ typedef __s64 Elf64_Sxword;
#define STT_FUNC 2
#define STT_SECTION 3
#define STT_FILE 4
+#define STT_COMMON 5
+#define STT_TLS 6
#define ELF_ST_BIND(x) ((x) >> 4)
#define ELF_ST_TYPE(x) (((unsigned int) x) & 0xf)
Attachment:
linux-2.6.13-elf.patch
Description: Binary data