>>> Christoph Hellwig <[email protected]> 08.09.05 16:32:16 >>>
>On Thu, Sep 08, 2005 at 04:30:03PM +0200, Jan Beulich wrote:
>> (Note: Patch also attached because the inline version is certain to
get
>> line wrapped.)
>>
>> A trivial addition to the EFL definitions.
>
>Why? They're obviously not needed in kernelspace..
I have dependent code (on STT_COMMON), and am in the process of
breaking this up. Since the definition doesn't hurt anyone (and I need
it), I can't see why it can't be there; I agree that STT_TLS will rarely
be needed in kernel code, but I still decided to also add this for
completeness.
>>
>> Signed-off-by: Jan Beulich <[email protected]>
>>
>> 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)
>>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|