nios2: move gd and bd into BSS
authorThomas Chou <thomas@wytron.com.tw>
Mon, 23 Apr 2012 02:55:02 +0000 (10:55 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Mon, 16 Jul 2012 01:51:12 +0000 (09:51 +0800)
commit7dfb0602915447d10d89096634be7e9d15925eb3
treebec0816e1ab3861d0cf735325893fc76d63df77f
parent0b15d51ed07db4c318d9c6b02b394ba5a3bc4296
nios2: move gd and bd into BSS

As suggested by Graeme Russ, move gd and bd data structrures
to BSS instead of calculating the locations around the stack
and heap.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Mike Frysinger <vapier@gentoo.org>
arch/nios2/lib/board.c
include/configs/nios2-generic.h