Re: [PATCH] minor ELF definitions addition

From: Christoph Hellwig
Date: Thu Sep 08 2005 - 09:32:38 EST


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..

>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
>
> 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)
>


---end quoted text---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/