aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich2006-01-08 01:02:20 -0800
committerLinus Torvalds2006-01-08 20:13:49 -0800
commitb3f3d6141f8636f627bf19fd44eaf59a52637ac8 (patch)
tree849950ee2e5f3adefeec45d09c8bcf78e1c3e66a
parent095975da26dba21698582e91e96be10f7417333f (diff)
[PATCH] ELF: symbol table type additions
Needed for the Novell kernel debugger and perhaps some per-cpu data on x86_64 in the future. Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--include/linux/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/elf.h b/include/linux/elf.h
index ff955dbf510d..d3bfacb24496 100644
--- a/include/linux/elf.h
+++ b/include/linux/elf.h
@@ -151,6 +151,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)