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-ia64-devel

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

>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 10.07.09 16:57 >>>
>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?

For ia64 it is *very* important - it's the base pointer to access short data.

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

Of course we could - I just didn't dare to be more radical than I needed to be.

Jan


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