minor ELF addition
PATCH 1/1 minor ELF addition
A trivial addition to the ELF definitions.
From: Jan Beulich <[email protected]>
(actual patch attached)
A trivial addition to the ELF definitions.
From: Jan Beulich <[email protected]>
include/linux/elf.h +2 -0
@@ -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)
include/linux/elf.h typedef __s64 Elf64_Sxword; · line 155
Quoted 7 lines · Jan Beulich
A trivial addition to the ELF definitions.
...
#defineSTT_FILE4include/linux/elf.h +2
-0+#define STT_COMMON 5 +#define STT_TLS 6
Is there any particular reason for adding these, or is it just a completeness thing?
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Andrew Morton <[email protected]> 08.11.05 23:56:56 >>>
Quoted 3 lines · Jan Beulich
A trivial addition to the ELF definitions.
Quoted 7 lines
include/linux/elf.h typedef __s64 Elf64_Sxword; · line 155
Quoted 4 lines
...
#defineSTT_FILE4include/linux/elf.h +2
-0+#define STT_COMMON 5 +#define STT_TLS 6Is 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).