All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] minor ELF definitions addition
@ 2005-09-08 14:30 Jan Beulich
  2005-09-08 14:32 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2005-09-08 14:30 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

(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@novell.com>

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 #2: linux-2.6.13-elf.patch --]
[-- Type: application/octet-stream, Size: 642 bytes --]

(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@novell.com>

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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-09  3:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-08 14:30 [PATCH] minor ELF definitions addition Jan Beulich
2005-09-08 14:32 ` Christoph Hellwig
2005-09-08 14:40   ` Jan Beulich
2005-09-09  3:45   ` Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.