Re: [PATCH] cross-architecture ELF clean up

From: Roman Zippel
Date: Mon Jun 25 2007 - 09:37:29 EST


Hi,

On Wed, 20 Jun 2007, Jeremy Fitzhardinge wrote:

> This patch cleans up the ELF headers and their users. It does several
> related things:
>
> 1. split linux/elf.h into pieces
>
> This splits linux/elf.h into several pieces:
> linux/elf.h - still the common elf header,
> functionally unchanged
> linux/elf-const.h - ELF constants, includable by asm code

We have the __ASSEMBLY__ define for this, so just for asm code we don't
need a separate header.

> linux/elf-decl.h - ELF type declarations, without definitions
> linux/elf-defn.h - ELF type definitions

What's the point in splitting these two?

After this patch <linux/elf.h> seems to be pretty much empty, I'd rather
suggest to move the function declarations to elfcore.h and leave the basic
elf definitions in elf.h. Many small header files have the disadvantage
that it takes longer to find the needed information.

bye, Roman
-
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/