[U-Boot] [PATCH 1/5] Add basic errno support.

Jerry Van Baren gvb.uboot at gmail.com
Sun Jul 18 14:51:42 CEST 2010


On 07/17/2010 05:17 PM, Mike Frysinger wrote:
> On Saturday, July 17, 2010 15:45:44 Wolfgang Denk wrote:
>> --- /dev/null
>> +++ b/lib/errno.c
>> @@ -0,0 +1 @@
>> +int errno = 0;
>
> drop the "= 0" so that errno ends up in the bss ?
> -mike

Is this going to be a problem during early startup (pre-relocation) vs. 
normal running?  Pre-relocation, we only have a temporary stack and RAM 
is not set up initially.

I have not looked at when RAM gets initialized vs. when env. variables 
get used.  It is probably OK.  Wolfgang?

Best regards,
gvb


More information about the U-Boot mailing list