]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[PATCH] ELF: symbol table type additions
authorJan Beulich <jbeulich@novell.com>
Sun, 8 Jan 2006 09:02:20 +0000 (01:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:49 +0000 (20:13 -0800)
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>
include/linux/elf.h

index ff955dbf510d918503b2f634e85e55ed8bd150c5..d3bfacb2449642f751e182977c23e482b85a8ab8 100644 (file)
@@ -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)