WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] x86-64: reduce symbol table size

To: Jan Beulich <JBeulich@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] x86-64: reduce symbol table size
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 10 Jul 2009 15:57:40 +0100
Cc: "xen-ia64-devel@xxxxxxxxxxxxxxxxxxx" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 10 Jul 2009 07:58:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A576BB60200007800009E62@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoBan+awbs1Dzy2StC+M4jZbhRkLAABEWZE
Thread-topic: [Xen-devel] [PATCH] x86-64: reduce symbol table size
User-agent: Microsoft-Entourage/12.19.0.090515
On 10/07/2009 15:26, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

> /* Keep these useful absolute symbols */
> -  if (strcmp(sym, "__kernel_syscall_via_break") &&
> -      strcmp(sym, "__kernel_syscall_via_epc") &&
> -      strcmp(sym, "__kernel_sigtramp") &&
> -      strcmp(sym, "__gp"))
> +  if (strcmp(sym, "__gp"))

Is '__gp' useful? What is it?

> static char *special_symbols[] = {
> -  "symbols_addresses",
> -  "symbols_num_syms",
> -  "symbols_names",
> -  "symbols_markers",
> -  "symbols_token_table",
> -  "symbols_token_index",
> -
> /* Exclude linker generated symbols which vary between passes */
> "_SDA_BASE_",  /* ppc */
> "_SDA2_BASE_",  /* ppc */

Can we just kill the special_symbols[] thing altogether? Loosk like it only
contains (unsupported) ppc stuff now?

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel