Re: [patch 00/34] idle: Consolidate idle implementations

Chris Zankel
2013-03-28T22:16:15Z

Hi Thomas,

On 3/28/13 2:24 AM, Thomas Gleixner wrote:
> On Thu, 28 Mar 2013, Chris Zankel wrote:
>
>> For Xtensa:
>> Acked-by: Chris Zankel <chris@zankel.net>
>>
>> Thanks for going the extra mile and test-compiling it.
> Though, the build fails later with:
>
> arch/xtensa/kernel/built-in.o:(.init.literal+0x90): undefined reference to `platform_pcibios_init'
> arch/xtensa/kernel/built-in.o: In function `setup_arch':
> (.init.text+0x1de): undefined reference to `platform_pcibios_init'
> drivers/built-in.o: In function `pci_assign_unassigned_resources':
[...]

Thanks for the info. With KALLSYMS enabled, the .rodata section between
the .text and the .init.text section is extended to a point where it
exceeds the call range between those sections. I'm working on a fix
(basically, move the .init.text section close to the .init section).

Thanks,
-Chris