[U-Boot] [PATCH 1/5] Add basic errno support.
Wolfgang Denk
wd at denx.de
Sat Jul 17 23:34:09 CEST 2010
Dear Mike Frysinger,
In message <201007171717.27154.vapier at gentoo.org> you wrote:
>
> > +++ b/lib/errno.c
> > @@ -0,0 +1 @@
> > +int errno = 0;
>
> drop the "= 0" so that errno ends up in the bss ?
This does not make any difference; the tools are clever enough to
figure that out:
-> nm lib/errno.o
00000000 S errno
S = "The symbol is in an uninitialized data section for small objects."
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A quarrel is quickly settled when deserted by one party; there is no
battle unless there be two. - Seneca
More information about the U-Boot
mailing list