Absolute symbols in vmlinux_64.lds.S
Quoted 12 lines · Yinghai Lu
Quoted 11 lines · Jeremy Fitzhardinge
Why does
vmlinux_64.lds.Suse absolute symbols for things like __bss_start/stop:
__bss_start= .; /* BSS */.bss : AT(ADDR(.bss) - LOAD_OFFSET) { *(.bss.page_aligned) *(.bss) }
__bss_stop= .;
Quoted 6 lines
Quoted 4 lines
vmlinux_32.lds.Sputs __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
Signature · 1 line
Sent from my Android phone with K-9. Please excuse my brevity.
Quoted 15 lines · Jeremy Fitzhardinge
Quoted 12 lines · Yinghai Lu
Quoted 11 lines · Jeremy Fitzhardinge
Why does
vmlinux_64.lds.Suse absolute symbols for things like __bss_start/stop:
__bss_start= .; /* BSS */.bss : AT(ADDR(.bss) - LOAD_OFFSET) { *(.bss.page_aligned) *(.bss) }
__bss_stop= .;
Quoted 7 lines
Quoted 5 lines
Quoted 4 lines
vmlinux_32.lds.Sputs __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