]> git.karo-electronics.de Git - karo-tx-linux.git/commit
UML: normalize global variables exported by vmlinux.lds
authorJiang Liu <liuj97@gmail.com>
Thu, 27 Jun 2013 23:51:52 +0000 (09:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:45 +0000 (16:37 +1000)
commit33a58946031e2668a260fdc9970dc095bec82a33
treee8ee25192997546d7df89263fd09fe44900d3c7a
parent679773baf4df3a4addd6809d9c0d1c854d247ae0
UML: normalize global variables exported by vmlinux.lds

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 __bss_stop.
3) Adjust __init_begin and __init_end to avoid acrossing .text and
   .data sections.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/um/include/asm/common.lds.S
arch/um/kernel/dyn.lds.S
arch/um/kernel/uml.lds.S