Re: 2.6.22-rc6-mm1: Xen: WARNING: Absolute relocations present

Adrian Bunk
2007-07-01T20:28:56Z

On Sun, Jul 01, 2007 at 09:33:08AM -0700, Jeremy Fitzhardinge wrote:
> Eric W. Biederman wrote:
>> Jeremy Fitzhardinge <jeremy@goop.org> 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
>...

Thanks, works for me.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed