|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: 2.6.22-rc6-mm1: Xen: WARNING: Absolute relocations prese
To: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Subject: |
[Xen-devel] Re: 2.6.22-rc6-mm1: Xen: WARNING: Absolute relocations present |
From: |
ebiederm@xxxxxxxxxxxx (Eric W. Biederman) |
Date: |
Sun, 01 Jul 2007 14:31:44 -0600 |
Cc: |
xen-devel@xxxxxxxxxxxxxxxxxxx, Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Andi Kleen <ak@xxxxxxx>, Adrian Bunk <bunk@xxxxxxxxx>, chrisw@xxxxxxxxxxxx, Vivek Goyal <vgoyal@xxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> |
Delivery-date: |
Mon, 02 Jul 2007 09:39:41 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<4687D744.6000103@xxxxxxxx> (Jeremy Fitzhardinge's message of "Sun, 01 Jul 2007 09:33:08 -0700") |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<20070628034321.38c9f12b.akpm@xxxxxxxxxxxxxxxxxxxx> <20070628204001.GA6087@xxxxxxxxx> <46841EC4.7080805@xxxxxxxx> <m1hcoorv79.fsf@xxxxxxxxxxxxxxxxxxxxxxxxx> <4687D744.6000103@xxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> writes:
> Eric W. Biederman wrote:
>> Jeremy Fitzhardinge <jeremy@xxxxxxxx> writes:
>>
>>
>>> Adrian Bunk wrote:
>>>
>>>> <-- snip -->
>>>>
>>>> ...
>>>> RELOCS arch/i386/boot/compressed/vmlinux.relocs
>>>> WARNING: Absolute relocations present
>>>> Offset Info Type Sym.Value Sym.Name
>>>> c0101f80 020c6501 R_386_32 00000000 xen_irq_disable_direct_reloc
>>>> c0101f9a 0221ea01 R_386_32 00000000 xen_save_fl_direct_reloc
>>>> ...
>>>>
>>>> <-- snip -->
>>>>
>>>>
>>> Hm. Those are false alarms. I guess I could do something to hide them, but
>>> there's nothing inherently wrong with correctly used abs symbols. Is there
>>> someway to whitelist them?
>>>
>>
>> Yes. Just add them to arch/i386/boot/compressed/relocs.c safe_abs_syms.
>>
>
> OK, how's this?
>
> Subject: xen: suppress abs symbol warnings for unused reloc pointers
>
> The Xen code generates some abs symbols which are OK from a relocation
> perspective.
Actually I have to ask. How in the world are these absolute symbols
ok from a relocation perspective.
If the kernel is not running at 0xc0100000 the offset value looks like
it will be completely bogus.
Maybe those are ok, but if you could please explain why those are
false positives I would appreciate it. (Especially in your patch
description).
If these are indeed false positives the patch looks ok.
Eric
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|