Re: "." in vmlinux.lds.S

From: Andy Lutomirski
Date: Fri Jun 06 2014 - 14:40:16 EST


On 06/06/2014 10:08 AM, HÃn ShÄn (ææ) wrote:
> A gentle ping?
>
> On Tue, Jun 3, 2014 at 2:46 PM, HÃn ShÄn (ææ) <shenhan@xxxxxxxxxx> wrote:
>> Hi we are trying to boot up a x86_64 chrome book using binutils 2.24 and
>> kernel 3.8, but failed.
>>
>> After some triage work, we found that a 2-year-old binutil CL changed the
>> interpretation of "." in linker script ïshort story: absolute -> relative,
>> long story: https://sourceware.org/ml/binutils/2012-06/msg00155.html).
>>
>> After some further work, we are able to boot the kernel with a kernel patch
>> pasted at EOM. I am curious, why the upstream kernel is never hit by this
>> behavior? We enabled "CONFIG_DEBUG_RODATA", so we were hit, is this some
>> macro not usually turned on?

What does a section-relative symbol do?

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/