Displaying 3 results from an estimated 3 matches for "symbols_origin".
2009 Jul 13
0
[PATCH, v2] x86-64: reduce symbol table size
...: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 unsigned int symbols_num_syms;
+extern const u8 symbols_nam...
2015 Oct 24
0
Bug#802870: xen: FTBFS: error: array subscript is above array bounds
...s.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
The package fails to build:
symbols.c: In function ?symbols_lookup?:
symbols.c:23:61: error: array subscript is above array bounds [-Werror=array-bounds]
#define symbols_address(n) (SYMBOLS_ORIGIN + symbols_offsets[n])
^
symbols.c:128:47: note: in expansion of macro ?symbols_address?
while (low && symbols_address(low - 1) == symbols_address(low))
^
symbols.c:23:61: error:...
2015 Jul 21
0
Bug#793132: xen: FTBFS with glibc 2.21 and gcc-5
.../xen/config.h -nostdinc -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -MMD -MF .symbols.o.d -c symbols.c -o symbols.o
symbols.c: In function 'symbols_lookup':
symbols.c:23:61: error: array subscript is above array bounds [-Werror=array-bounds]
#define symbols_address(n) (SYMBOLS_ORIGIN + symbols_offsets[n])
^
symbols.c:128:47: note: in expansion of macro 'symbols_address'
while (low && symbols_address(low - 1) == symbols_address(low))
^
symbols.c:23:61:...