From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 17 Jul 2010 23:34:09 +0200 Subject: [U-Boot] [PATCH 1/5] Add basic errno support. In-Reply-To: <201007171717.27154.vapier@gentoo.org> References: <1279395948-25864-1-git-send-email-wd@denx.de> <1279395948-25864-2-git-send-email-wd@denx.de> <201007171717.27154.vapier@gentoo.org> Message-ID: <20100717213409.A2637153A7F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <201007171717.27154.vapier@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