[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <49B5FB69.2020909@kernel.org>
Date: Mon, 09 Mar 2009 22:32:25 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: Jeremy Fitzhardinge <jeremy@...p.org>
CC: Ingo Molnar <mingo@...e.hu>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
the arch/x86 maintainers <x86@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Absolute symbols in vmlinux_64.lds.S
Jeremy Fitzhardinge wrote:
>
> Yinghai Lu <yinghai@...nel.org> wrote:
>
>> Jeremy Fitzhardinge wrote:
>>> Why does vmlinux_64.lds.S use absolute symbols for things like
>>> __bss_start/stop:
>>>
>>> __bss_start = .; /* BSS */
>>> .bss : AT(ADDR(.bss) - LOAD_OFFSET) {
>>> *(.bss.page_aligned)
>>> *(.bss)
>>> }
>>> __bss_stop = .;
>>>
>>>
>>> vmlinux_32.lds.S puts __bss_start/stop into the .bss section itself. Is
>>> there some particular reason they need to be absolute symbols
>>> (relocation?).
>>>
>> they are the same.
>
> Do you mean it makes no difference?
Sure. System.map should tell the value after the building.
YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists