
10 Nov
2015
10 Nov
'15
4:54 a.m.
Hi Albert,
On Tue, Nov 10, 2015 at 8:20 AM, Albert ARIBAUD albert.u.boot@aribaud.net wrote:
board_init_f_mem() alters the C runtime environment's stack it ls actually already using. This is not a valid C runtime environment and may conflict with the C compiler's expectations.
What C compiler's expectations conflicts with current board_init_f_mem()? Did you see any actual error on any board?
Split board_init_f_mem into C functions which do not alter their own stack and therefore function in a valid C runtime environment.
NOTE: this has not been tested with all architectures.
Signed-off-by: Albert ARIBAUD albert.u.boot@aribaud.net
[snip]
Regards, Bin