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

2010-09-12 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1279395948-25864-2-git-send-email...@denx.de> you wrote: > Needed for hash table support; probably useful in a lot of other > places as well. > > Signed-off-by: Wolfgang Denk > --- > include/errno.h |9 + > lib/Makefile|1 + > lib/errno.c

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

2010-07-18 Thread Wolfgang Denk
Dear Jerry Van Baren, In message <4c42f8de.5040...@gmail.com> you wrote: > > > 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 n

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

2010-07-18 Thread Jerry Van Baren
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-r

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

2010-07-17 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201007171717.27154.vap...@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

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

2010-07-17 Thread Mike Frysinger
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 signature.asc Description: This is a digitally signed message part. _

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

2010-07-17 Thread Wolfgang Denk
Needed for hash table support; probably useful in a lot of other places as well. Signed-off-by: Wolfgang Denk --- include/errno.h |9 + lib/Makefile|1 + lib/errno.c |1 + 3 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 include/errno.h create mo