xen-devel
[Xen-devel] [patch 42/44] xen: suppress abs symbol warnings for unused r
arch/i386/xen/xen-asm.S defines some small pieces of code which are
used to implement a few paravirt_ops. They're designed so they can be
used either in-place, or be inline patched into their callsites if
there's enough space.
Some of those operations need to make calls out (specifically, if you
re-enable events [interrupts], and there's a pending event at that
time). These calls need the call instruction to be relocated if the
code is patched inline. In this case xen_foo_reloc is a
section-relative symbol which points to xen_foo's required relocation.
Other operations have no need of a relocation, and so their
corresponding xen_bar_reloc is absolute 0. These are the cases which
are triggering the warning.
This patch adds those symbols to the list of safe abs symbols.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
Cc: Adrian Bunk <bunk@xxxxxxxxx>
---
arch/i386/boot/compressed/relocs.c | 2 ++
1 file changed, 2 insertions(+)
===================================================================
--- a/arch/i386/boot/compressed/relocs.c
+++ b/arch/i386/boot/compressed/relocs.c
@@ -31,6 +31,8 @@ static const char* safe_abs_relocs[] = {
"__kernel_rt_sigreturn",
"__kernel_sigreturn",
"SYSENTER_RETURN",
+ "xen_irq_disable_direct_reloc",
+ "xen_save_fl_direct_reloc",
};
static int is_safe_abs_reloc(const char* sym_name)
--
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [patch 23/44] xen: configuration, (continued)
- [Xen-devel] [patch 23/44] xen: configuration, Jeremy Fitzhardinge
- [Xen-devel] [patch 26/44] xen: ignore RW mapping of RO pages in pagetable_init, Jeremy Fitzhardinge
- [Xen-devel] [patch 22/44] xen: time implementation, Jeremy Fitzhardinge
- [Xen-devel] [patch 33/44] xen: use the hvc console infrastructure for Xen console, Jeremy Fitzhardinge
- [Xen-devel] [patch 24/44] xen: add pinned page flag, Jeremy Fitzhardinge
- [Xen-devel] [patch 25/44] xen: Complete pagetable pinning, Jeremy Fitzhardinge
- [Xen-devel] [patch 21/44] xen: event channels, Jeremy Fitzhardinge
- [Xen-devel] [patch 38/44] xen: machine operations, Jeremy Fitzhardinge
- [Xen-devel] [patch 29/44] xen: SMP guest support, Jeremy Fitzhardinge
- [Xen-devel] [patch 31/44] xen: lazy-mmu operations, Jeremy Fitzhardinge
- [Xen-devel] [patch 42/44] xen: suppress abs symbol warnings for unused reloc pointers,
Jeremy Fitzhardinge <=
- [Xen-devel] [patch 44/44] xen: disable all non-virtual drivers, Jeremy Fitzhardinge
- [Xen-devel] [patch 40/44] xen: Place vcpu_info structure into per-cpu memory, Jeremy Fitzhardinge
- [Xen-devel] [patch 43/44] xen: use iret directly when possible, Jeremy Fitzhardinge
- [Xen-devel] [patch 34/44] xen: Add grant table support, Jeremy Fitzhardinge
- [Xen-devel] [patch 41/44] xen: Attempt to patch inline versions of common operations, Jeremy Fitzhardinge
- [Xen-devel] [patch 36/44] xen: add virtual block device driver., Jeremy Fitzhardinge
- [Xen-devel] [patch 37/44] xen: add virtual network device driver, Jeremy Fitzhardinge
|
|
|