From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from scrub.xs4all.nl ([194.109.195.176]:2238 "EHLO scrub.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324AbXFYNhB (ORCPT ); Mon, 25 Jun 2007 09:37:01 -0400 Date: Mon, 25 Jun 2007 15:37:03 +0200 (CEST) From: Roman Zippel Subject: Re: [PATCH] cross-architecture ELF clean up In-Reply-To: <20070620230902.387008536@goop.org> Message-ID: References: <20070620230854.246399397@goop.org> <20070620230902.387008536@goop.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-arch-owner@vger.kernel.org To: Jeremy Fitzhardinge Cc: "Eric W. Biederman" , lkml , Andrew Morton , Linux Arch List-ID: 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 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