mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
Normalize global variables exported by vmlinux.lds to conform usage guidelines from include/asm-generic/sections.h. 1) Use _text to mark the start of the kernel image including the head text, and _stext to mark the start of the .text section. 2) Export mandatory global variables __init_begin and __init_end. Signed-off-by: Jiang Liu <[email protected]> Acked-by: Chris Metcalf <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Wen Congyang <[email protected]> Cc: David Howells <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>