pbl: console: Let console pointer survive BSS clearing
The PBL console support may be configured before the BSS segment
is cleared. Put the pointer into the data section so that it is
not affected by the BSS clearing.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 7dc3354 commit 80c55cb4837594a7db7f2cedb8e2f177e2697510
@Sascha Hauer Sascha Hauer authored on 12 Jul 2016
Showing 1 changed file
View
pbl/console.c