[coreboot] how much more const could it be?

ron minnich rminnich at gmail.com
Fri Nov 14 18:50:51 CET 2008


On Fri, Nov 14, 2008 at 9:41 AM, Jordan Crouse <jordan at cosmicpenguin.net> wrote:
> Myles Watson wrote:
>>
>> On Fri, Nov 14, 2008 at 9:24 AM, ron minnich <rminnich at gmail.com> wrote:
>>
>>>       static const u32 const * const dual_channel_slew_group_lookup[] = {
>>>       static const u32 const * const single_channel_slew_group_lookup[] =
>>> {
>>> /home/rminnich/coreboot-v3/build/coreboot.initram_partiallylinked.o:
>>> section .data.rel.ro.local: dual_channel_slew_group_lookup.3240
>>> single_channel_slew_group_lookup.3241
>>>
>>> what's it looking for here?
>
> It wants to put the data in a special segment that likely isn't being
> included in the linker scripts.  We've had this problem before.  The linker
> script should be using wildcards - probably .data.rel.* or .data.rel.ro.* to
> pull in the subsections.

Yes but:
  [ 8] .data.rel.ro.loca PROGBITS        00000000 004328 000600 00  WA  0   0  4

it claims it is writeable. Why is that?

ron




More information about the coreboot mailing list