All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] minor ELF addition
@ 2005-11-08 12:54 Jan Beulich
  2005-11-08 22:56 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Beulich @ 2005-11-08 12:54 UTC (permalink / raw)
  To: linux-kernel

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

A trivial addition to the ELF definitions.

From: Jan Beulich <jbeulich@novell.com>

(actual patch attached)

[-- Attachment #2: linux-2.6.14-elf.patch --]
[-- Type: application/octet-stream, Size: 476 bytes --]

A trivial addition to the ELF definitions.

From: Jan Beulich <jbeulich@novell.com>

--- 2.6.14/include/linux/elf.h	2005-10-28 02:02:08.000000000 +0200
+++ 2.6.14-elf/include/linux/elf.h	2005-11-04 16:19:34.000000000 +0100
@@ -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)

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

* Re: [PATCH] minor ELF addition
  2005-11-08 12:54 [PATCH] minor ELF addition Jan Beulich
@ 2005-11-08 22:56 ` Andrew Morton
  2005-11-09  8:03   ` Jan Beulich
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2005-11-08 22:56 UTC (permalink / raw)
  To: Jan Beulich; +Cc: linux-kernel

"Jan Beulich" <JBeulich@novell.com> wrote:
>
> A trivial addition to the ELF definitions.
> 
> ...
>  #define STT_FILE    4
> +#define STT_COMMON  5
> +#define STT_TLS     6

Is there any particular reason for adding these, or is it just a
completeness thing?

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

* Re: [PATCH] minor ELF addition
  2005-11-08 22:56 ` Andrew Morton
@ 2005-11-09  8:03   ` Jan Beulich
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2005-11-09  8:03 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

>>> Andrew Morton <akpm@osdl.org> 08.11.05 23:56:56 >>>
>"Jan Beulich" <JBeulich@novell.com> wrote:
>>
>> A trivial addition to the ELF definitions.
>> 
>> ...
>>  #define STT_FILE    4
>> +#define STT_COMMON  5
>> +#define STT_TLS     6
>
>Is there any particular reason for adding these, or is it just a
>completeness thing?

NLKD needs STT_COMMON. STT_TLS is just for completeness (and probably
not of much use in the kernel, though Andi seemed to have at least
considered using TLS for x86-64's per-CPU data).



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

end of thread, other threads:[~2005-11-09  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-08 12:54 [PATCH] minor ELF addition Jan Beulich
2005-11-08 22:56 ` Andrew Morton
2005-11-09  8:03   ` Jan Beulich

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.