[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.