From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] mkelf32: Correct sh_link Date: Wed, 03 Jan 2007 15:21:52 +0000 Message-ID: References: <200701031614.54922.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200701031614.54922.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 3/1/07 15:14, "Christoph Egger" wrote: >> Why do you strip the symbol table and re-add it in an unusual format >> when linking the bootable ELF image? Is this a historical relict? > > Ah, sorry! I actually meant: Why do you strip the symbol and string tables > and re-add the string table in an unusal format? > Is this a historical relict? It isn't the symbol-name string table: look at how short it is! It's the section-header string table. I believe all Elf images require one of those (not least because some section names have special meaning). -- Keir