search for: symbols_num_syms

Displaying 2 results from an estimated 2 matches for "symbols_num_syms".

2009 Jul 13
0
[PATCH, v2] x86-64: reduce symbol table size
...--- 2009-07-10.orig/xen/common/symbols.c 2009-07-13 13:56:07.000000000 +0200 +++ 2009-07-10/xen/common/symbols.c 2009-06-30 16:58:32.000000000 +0200 @@ -18,21 +18,27 @@ #include <xen/string.h> #include <xen/spinlock.h> -extern unsigned long symbols_addresses[]; -extern unsigned long symbols_num_syms; -extern u8 symbols_names[]; +#ifdef SYMBOLS_ORIGIN +extern const unsigned int symbols_offsets[1]; +#define symbols_address(n) (SYMBOLS_ORIGIN + symbols_offsets[n]) +#else +extern const unsigned long symbols_addresses[]; +#define symbols_address(n) symbols_addresses[n] +#endif +extern const unsigne...
2007 Jan 10
2
[PATCH] the address of ''symbols_addresses'' will always evaluate as ''true''
Hi; Attached patch adds "-Wno-always-true" CFLAGS into xen/arch/powerpc/Rules.mk and xen/arch/x86/Rules.mk, else compiling xen with latest gcc-4.2.0 snapshot fails, patch is against current xen-3.0.4-testing repo; make[3]: Entering directory `/var/pisi/xen-3.0.4.1-3/work/xen-3.0.4-testing.hg/xen/common'' gcc -O2 -fomit-frame-pointer -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall