From: Wolfgang Denk Date: Sun, 30 Mar 2008 22:59:23 +0200 Subject: [U-Boot-Users] [PATCH] Change env_get_char from a global function ptr to a function. In-Reply-To: Your message of "Fri, 28 Mar 2008 16:45:59 +0100." <1206719159-11200-2-git-send-email-Joakim.Tjernlund@transmode.se> Message-ID: <20080330205923.3E5BA248BE@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 In message <1206719159-11200-2-git-send-email-Joakim.Tjernlund@transmode.se> you wrote: > This avoids an early global data reference. What exactly is the problem you're trying to fix? It seems the resulting code is not exactly smaller than the old one? 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 Contrary to popular belief, thinking does not cause brain damage.