lkml.org 
[lkml]   [2009]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Absolute symbols in vmlinux_64.lds.S
From
Date


Yinghai Lu <yinghai@kernel.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?

J
--
Sent from my Android phone with K-9. Please excuse my brevity.
\
 
 \ /
  Last update: 2009-03-10 05:41    [W:1.037 / U:1.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site