On 14.11.2008 18:28, Carl-Daniel Hailfinger wrote:
> On 14.11.2008 18:14, [EMAIL PROTECTED] wrote:
>   
>> Author: rminnich
>> New Revision: 1026
>>
>> /home/rminnich/coreboot-v3/build/coreboot.initram_partiallylinked.o: section 
>> .data.rel.ro.local: dual_channel_slew_group_lookup.3242 
>> single_channel_slew_group_lookup.3243
>>   
>>     
>
> Basic rule: If you want to have arrays of pointers in initram, you lose.
> Pointers are not relocatable by definition. const is not going to help
> you there.
>   

IFF (if and only if) these pointers point to places in the boot block or
other non relocatable locations, you might be able to tell gcc that you
want the pointer array to end up in section .rodata and the section
checker won't complain anymore.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/


--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to